summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-09-26 01:21:10 +0200
committerDan McGee <dan@archlinux.org>2012-09-26 01:21:10 +0200
commit3530303c9a7d017bdfec40d9dc7c38bd3fb2c09b (patch)
tree473c525bbf70b9ba30a306d8a809b7c4e34591e5
parent182a45ace9ba4690aa826b3faf34884fbd3f68ae (diff)
downloadarchweb-3530303c9a7d.tar.gz
archweb-3530303c9a7d.tar.xz
Only watch non-staging repos in inotify reporead
This is temporary until we do more work to ensure staging packages don't show up and confuse regular users of the web interface. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--devel/management/commands/reporead_inotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/management/commands/reporead_inotify.py b/devel/management/commands/reporead_inotify.py
index c74762e..043e13f 100644
--- a/devel/management/commands/reporead_inotify.py
+++ b/devel/management/commands/reporead_inotify.py
@@ -68,7 +68,7 @@ class Command(BaseCommand):
and passes these on to the various pyinotify pieces as necessary and
finally builds and returns a notifier object.'''
arches = Arch.objects.filter(agnostic=False)
- repos = Repo.objects.all()
+ repos = Repo.objects.filter(staging=False)
arch_path_map = dict((arch, None) for arch in arches)
all_paths = set()
total_paths = 0