[library-web/new-website-style: 16/24] correct gnome version check for older moduleset structures



commit 27ee16347e0ab5f6c5fb7dcb5d62a99b13e07676
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]