1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

Merge branch 'archive-fix' into 'master'

Fix nightly --archive-older command line option

See merge request fdroid/fdroidserver!744
This commit is contained in:
Hans-Christoph Steiner 2020-05-11 15:32:04 +00:00
commit 169d551683

View File

@ -102,7 +102,7 @@ def main():
help=_('The file to be included in the repo (path or glob)'))
parser.add_argument("--no-checksum", action="store_true", default=False,
help=_("Don't use rsync checksums"))
parser.add_argument("--archive-older", default=20,
parser.add_argument("--archive-older", type=int, default=20,
help=_("Set maximum releases in repo before older ones are archived"))
# TODO add --with-btlog
options = parser.parse_args()