summaryrefslogtreecommitdiff
path: root/plugins/new_version.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/new_version.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/new_version.py b/plugins/new_version.py
index 7e4d3c0..8cdf0a5 100644
--- a/plugins/new_version.py
+++ b/plugins/new_version.py
@@ -18,7 +18,7 @@ import gobject
from portato.helper import debug, warning
from portato import get_listener
-from portato.constants import VERSION, APP_ICON, APP
+from portato.constants import REPOURI, VERSION, APP_ICON, APP
from portato.gui.utils import GtkThread
class NewVersionFinder(Plugin):
@@ -34,7 +34,7 @@ class NewVersionFinder(Plugin):
def find_version (self, rev):
try:
- b = branch.Branch.open("lp:portato")
+ b = branch.Branch.open(REPOURI)
except Exception, e:
warning("NEW_VERSION :: Exception occured while accessing the remote branch: %s", str(e))
return
@@ -58,7 +58,7 @@ class NewVersionFinder(Plugin):
Run the thread once.
"""
v = VERSION.split()
- if len(v) != 3 or v[0] != "9999":
+ if len(v) != 3:
return None
rev = v[-1]
to.git/commit/doc/TODO?id=e213ca4b03be0adcee013273de568645a813f5c1&follow=1'>Removed TODO. Renamed ChangeLog to TODORené 'Necoro' Neumann2-40/+0 2009-08-27Only import stuff if necessaryRené 'Necoro' Neumann1-8/+8 2009-08-25Release the threadQueue-Lock in syncv0.13René 'Necoro' Neumann1-0/+1 2009-08-25Updated portugese translationAlberto Federman Neto1-650/+687 2009-08-15Update spanish translationDaniel Halens1-245/+258 2009-08-15Use boolean flags instead of obscure C flags for ipc.MessageQueueRené 'Necoro' Neumann3-13/+15 2009-08-15TypoRené 'Necoro' Neumann1-1/+1 2009-08-15Enhanced the extensions.shRené 'Necoro' Neumann1-3/+8 2009-08-15Move eix-format to correct locationRené 'Necoro' Neumann1-0/+0