[library-web] mark https://download.gnome.org as a valid location for gnome modules



commit 55630045c09cf2e764bd8703d1c68b9244685b76
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri Sep 5 10:18:17 2014 +0200

    mark https://download.gnome.org as a valid location for gnome modules

 src/lgo.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 6fa7308..e2de2aa 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -485,7 +485,9 @@ class Lgo(App):
 
         for module, href in hrefs:
             if not (href.startswith('http://download.gnome.org/') or
-                    href.startswith('http://ftp.gnome.org/')):
+                    href.startswith('http://ftp.gnome.org/') or
+                    href.startswith('https://download.gnome.org/') or
+                    href.startswith('https://ftp.gnome.org/')):
                 continue
             filename = self.download(href)
             if not filename:


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