summaryrefslogtreecommitdiff
path: root/plugins/new_version.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-05-20 01:10:36 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-05-20 01:10:36 +0200
commitcbab860b4b0ec92503184b7cd11f3242a6df6338 (patch)
tree443a6da1c9406e536b61d715e2d75a49dbc175a3 /plugins/new_version.py
parent2817e98ee98b5f7fa31c9225fdc579e89849f034 (diff)
downloadportato-cbab860b4b0ec92503184b7cd11f3242a6df6338.tar.gz
portato-cbab860b4b0ec92503184b7cd11f3242a6df6338.tar.bz2
portato-cbab860b4b0ec92503184b7cd11f3242a6df6338.zip
Revert previous commit
Diffstat (limited to '')
-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