Rev 171: Try to avoid masking badly installed or configured plugins. in file:///home/jelmer/bzr/pqm/

Jelmer Vernooij jelmer at samba.org
Tue May 22 23:15:57 BST 2007


At file:///home/jelmer/bzr/pqm/

------------------------------------------------------------
revno: 171
revision-id: jelmer at samba.org-20070522221228-cbroxbarxszl4dry
parent: jelmer at samba.org-20070522202259-n1b72flbhcdi8966
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: pqm
timestamp: Wed 2007-05-23 00:12:28 +0200
message:
  Try to avoid masking badly installed or configured plugins.
modified:
  pqm/__init__.py                i_dc99ede3-0c64-434d-ac84-305c06455a8d
=== modified file 'pqm/__init__.py'
--- a/pqm/__init__.py	2007-05-21 01:08:46 +0000
+++ b/pqm/__init__.py	2007-05-22 22:12:28 +0000
@@ -1354,9 +1354,10 @@
     def __init__(self):
         try:
             import bzrlib
+        except ImportError:
+            pass
+        else:
             bzrlib.plugin.load_plugins()
-        except ImportError:
-            pass
 
     def branch_exists(self, sender, branchspec):
         try:




More information about the bazaar-commits mailing list