openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #01119
[Merge] lp:~trb143/openlp/futures into lp:openlp
Tim Bentley has proposed merging lp:~trb143/openlp/futures into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Small clean up as direction in tagging is now defined.
--
https://code.launchpad.net/~trb143/openlp/futures/+merge/20851
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/core/utils/__init__.py'
--- openlp/core/utils/__init__.py 2010-02-21 06:32:43 +0000
+++ openlp/core/utils/__init__.py 2010-03-07 06:46:19 +0000
@@ -33,13 +33,12 @@
def check_latest_version(config, current_version):
version_string = current_version
#set to prod in the distribution confif file.
- environment = config.get_config(u'run environment', u'dev')
last_test = config.get_config(u'last version test', datetime.now().date())
this_test = unicode(datetime.now().date())
config.set_config(u'last version test', this_test)
if last_test != this_test:
version_string = u''
- req = urllib2.Request(u'http://www.openlp.org/files/%s_version.txt' % environment)
+ req = urllib2.Request(u'http://www.openlp.org/files/version.txt')
req.add_header(u'User-Agent', u'OpenLP/%s' % current_version)
try:
handle = urllib2.urlopen(req, None)
Follow ups