Rev 1964: Fix import. in file:///data/jelmer/bzr-svn/trunk/

Jelmer Vernooij jelmer at samba.org
Sat Nov 8 18:48:41 GMT 2008


At file:///data/jelmer/bzr-svn/trunk/

------------------------------------------------------------
revno: 1964
revision-id: jelmer at samba.org-20081108184839-5t2l8vrw7pmousod
parent: jelmer at samba.org-20081108180712-30qsugxu0o7qty9i
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-11-08 19:48:39 +0100
message:
  Fix import.
modified:
  format.py                      format.py-20070917005147-94kb7zysotf82kqw-1
=== modified file 'format.py'
--- a/format.py	2008-10-02 21:18:28 +0000
+++ b/format.py	2008-11-08 18:48:39 +0000
@@ -81,10 +81,10 @@
         return format
 
     def _open(self, transport):
-        from subvertpy import SubversionException
+        import subvertpy
         try: 
             return remote.SvnRemoteAccess(transport, self)
-        except SubversionException, (_, num):
+        except subvertpy.SubversionException, (_, num):
             if num == subvertpy.ERR_RA_DAV_REQUEST_FAILED:
                 raise bzr_errors.NotBranchError(transport.base)
             raise




More information about the bazaar-commits mailing list