summaryrefslogtreecommitdiff
path: root/plugins/new_version.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/new_version.py')
-rw-r--r--plugins/new_version.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/new_version.py b/plugins/new_version.py
index f8d5d3c..94e61ca 100644
--- a/plugins/new_version.py
+++ b/plugins/new_version.py
@@ -10,13 +10,16 @@
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>
+from portato.helper import debug, warning
+
try:
from bzrlib import plugin, branch
except ImportError:
plugin = branch = None
+ warning("NEW_VERSION :: Cannot import 'bzrlib'")
+
import gobject
-from portato.helper import debug, warning
from portato import get_listener
from portato.constants import REPOURI, VERSION, APP_ICON, APP
from portato.gui.utils import GtkThread