summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-09-25 18:21:10 -0500
committerDan McGee <dan@archlinux.org>2012-09-25 18:21:10 -0500
commit3530303c9a7d017bdfec40d9dc7c38bd3fb2c09b (patch)
tree473c525bbf70b9ba30a306d8a809b7c4e34591e5 /devel
parent182a45ace9ba4690aa826b3faf34884fbd3f68ae (diff)
downloadarchweb-3530303c9a7d017bdfec40d9dc7c38bd3fb2c09b.tar.gz
archweb-3530303c9a7d017bdfec40d9dc7c38bd3fb2c09b.zip
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>
Diffstat (limited to 'devel')
-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 c74762eb..043e13fe 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