Rev 461: Fix use with python2.4 (patch by John Meinel). in http://people.samba.org/bzr/jelmer/bzr-svn/bzr.dev
Jelmer Vernooij
jelmer at samba.org
Tue May 22 02:56:18 BST 2007
At http://people.samba.org/bzr/jelmer/bzr-svn/bzr.dev
------------------------------------------------------------
revno: 461
revision-id: jelmer at samba.org-20070522015615-j2hh7yy30ceqo8b5
parent: jelmer at samba.org-20070521124126-td6r9qvrqgz9azlo
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: main
timestamp: Tue 2007-05-22 02:56:15 +0100
message:
Fix use with python2.4 (patch by John Meinel).
modified:
cache.py cache.py-20070520185908-qbtlcet08bllgs0f-1
=== modified file 'cache.py'
--- a/cache.py 2007-05-20 21:31:44 +0000
+++ b/cache.py 2007-05-22 01:56:15 +0000
@@ -52,7 +52,7 @@
try:
import sqlite3
check_pysqlite_version(sqlite3)
- except ImportError, bzrlib.errors.BzrError:
+ except (ImportError, bzrlib.errors.BzrError), e:
from pysqlite2 import dbapi2 as sqlite3
check_pysqlite_version(sqlite3)
except:
More information about the bazaar-commits
mailing list