summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/new_version.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/new_version.py b/plugins/new_version.py
index 24d7d6f..e741348 100644
--- a/plugins/new_version.py
+++ b/plugins/new_version.py
@@ -34,12 +34,6 @@ class NewVersionFinder(Plugin):
def find_version (self, rev):
try:
- plugin.load_plugins() # to have lp: addresses parsed
- except Exception, e:
- warning("NEW_VERSION :: Exception occured while loading bzr-plugins: %s", str(e))
- return
-
- try:
b = branch.Branch.open(REPOURI)
except Exception, e:
warning("NEW_VERSION :: Exception occured while accessing the remote branch: %s", str(e))
@@ -69,6 +63,8 @@ class NewVersionFinder(Plugin):
rev = v[-1]
+ plugin.load_plugins() # to have lp: addresses parsed
+
self.start_thread(rev)
return rev