Fix one missed testing repo check
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
5f9d98d407
commit
73baf1b967
@ -228,7 +228,7 @@ def db_update(archname, pkgs, options):
|
||||
# produce a lot of false positives (or a div by zero). fake it
|
||||
dbpercent = 100.0
|
||||
logger.info("DB package ratio: %.1f%%" % dbpercent)
|
||||
if dbpercent < 50.0 and repository.name.lower().find('testing') == -1:
|
||||
if dbpercent < 50.0 and not repository.testing:
|
||||
logger.error(".db.tar.gz has %.1f%% the number of packages in the web database" % dbpercent)
|
||||
raise SomethingFishyException(
|
||||
'It looks like the syncdb is less than half the size of the web db. WTF?')
|
||||
|
Loading…
Reference in New Issue
Block a user