[library-web] make it possible to force git master
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] make it possible to force git master
- Date: Tue, 28 Jan 2014 15:01:09 +0000 (UTC)
commit f29e5783216378a727856cb457cf55993b33bce3
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Jan 28 14:55:46 2014 +0000
make it possible to force git master
src/lgo.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 8da3d7a..6e4396e 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -283,9 +283,10 @@ class Lgo(App):
branch_name = cgi.parse_qs(parsed_url.query).get('branch')[0]
version_value = cgi.parse_qs(parsed_url.query).get('version')[0]
- if not version_value.startswith('.'.join(branch_name.split('-')[1:])):
- logging.debug('ignoring git for %s (version != branch)' % module_name)
- return
+ if branch_name == 'master':
+ if not version_value.startswith('.'.join(branch_name.split('-')[1:])):
+ logging.debug('ignoring git for %s (version != branch)' % module_name)
+ return
fake_version_number = version_value + '.999'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]