summaryrefslogtreecommitdiff
path: root/devel/management
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-21 13:46:09 -0500
committerDan McGee <dan@archlinux.org>2011-03-22 21:42:14 -0500
commit59b176ed025548118f750e0d506f8a1d20cc4635 (patch)
tree4da140ee5a75bd1353b9bea21436776ada344f3d /devel/management
parent3f6aaf6ebea24de850afd670a04810c6b25f9bc7 (diff)
Don't bail on staging repo being short on packages
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/management')
-rw-r--r--devel/management/commands/reporead.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py
index 3f1e9ddf..231cad01 100644
--- a/devel/management/commands/reporead.py
+++ b/devel/management/commands/reporead.py
@@ -316,7 +316,7 @@ def db_update(archname, reponame, pkgs, options):
pass
elif not filesonly and \
len(dbset) > 20 and dbpercent < 50.0 and \
- not repository.testing:
+ not repository.testing and not repository.staging:
logger.error(msg)
raise Exception(msg)
elif dbpercent < 75.0: