[library-web] correct gnome version check for older moduleset structures



commit 671540ef22efba2cf4f8c9084dc6e9b38828ef2b
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Mar 19 23:54:28 2011 +0100

    correct gnome version check for older moduleset structures

 src/lgo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 4ef0ca2..e3af0bc 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -223,7 +223,7 @@ class Lgo(App):
 
             if version_cmp(r, '2.19.0') < 0:
                 urls = ['pub/GNOME/teams/releng/%(r)s/gnome-%(r)s.modules']
-            if version_cmp(r, '2.91.3') < 0:
+            elif version_cmp(r, '2.91.3') < 0:
                 urls = ['pub/GNOME/teams/releng/%(r)s/gnome-suites-%(r)s.modules']
             else:
                 urls = ['pub/GNOME/teams/releng/%(r)s/gnome-apps-%(r)s.modules',



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]