[library-web/new-website-style: 14/24] correctly continue to next moduleset if one fails



commit 703cd172867b80aefaac4cfba8c4d6afa6345d33
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Mar 19 23:53:05 2011 +0100

    correctly continue to next moduleset if one fails

 src/lgo.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index a9c97bf..4ef0ca2 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -236,6 +236,7 @@ class Lgo(App):
                     moduleset = self.ftp_gnome_org.download(url % {'r': r})[1]
                 except Exception, e:
                     logging.error('Failed retrieving %s (%s)' % (url % {'r': r}, str(e)))
+                    continue
                 self.process_moduleset(moduleset, r)
 
                 if self.config.version_max is None and r == releases[-1]:



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