1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Fix error message error

This commit is contained in:
Ciaran Gultnieks 2013-10-15 15:52:53 +01:00
parent 25ae0e8d79
commit 99510de07a

View File

@ -586,9 +586,9 @@ def parse_metadata(metafile, **kw):
try:
versions = int(thisinfo['Archive Policy'][:-9])
if versions < 1 or versions > 20:
raise MetaDataException("Silly number of days for archive policy")
raise MetaDataException("Silly number of versions for archive policy")
except:
raise MetaDataException("Incomprehensible number of days for archive policy")
raise MetaDataException("Incomprehensible number of versions for archive policy")
# Ensure all AntiFeatures are recognised...
if thisinfo['AntiFeatures']: