[damned-lies] Fixed getting the list of non GNOME modules



commit fa6dbb8dc456636d7213342fedc42204340b3b48
Author: Claude Paroz <claude 2xlibre net>
Date:   Thu May 19 17:58:03 2016 +0200

    Fixed getting the list of non GNOME modules

 stats/management/commands/update-stats.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/management/commands/update-stats.py b/stats/management/commands/update-stats.py
index d06e85a..6576056 100644
--- a/stats/management/commands/update-stats.py
+++ b/stats/management/commands/update-stats.py
@@ -72,7 +72,7 @@ class Command(BaseCommand):
         else:
             # Update all modules
             if options['non-gnome']:
-                modules = Module.objects.exclude(vcs_root__startswith='git://git.gnome.org/')
+                modules = Module.objects.exclude(vcs_root__contains='git.gnome.org')
             else:
                 modules = Module.objects.all()
             if not options['force']:


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