[library-web] ignore json files that are now created in the module directories
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] ignore json files that are now created in the module directories
- Date: Wed, 16 Mar 2011 15:19:50 +0000 (UTC)
commit 1392dbf09a809205813ba11e46e6e672dadd0a5c
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Mar 16 16:19:15 2011 +0100
ignore json files that are now created in the module directories
src/lgo.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 44d9552..2fc7df3 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -257,7 +257,8 @@ class Lgo(App):
min_version = None
base_module_href = 'pub/GNOME/sources/%s/' % module
releases = self.ftp_gnome_org.listdir(base_module_href)
- releases = [x for x in releases if not x.endswith('.png')] # ignore icons
+ releases = [x for x in releases if not (x.endswith('.png') # ignore icons
+ or x.endswith('.json'))] # ignore json
releases.sort(version_cmp)
extra_filenames = []
for i, version_dir in enumerate(releases):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]