Bugfix (follow-up): setting priority requires non-positive integer

This commit is contained in:
Bo Maryniuk 2016-05-06 13:27:55 +02:00
parent 79a46e091c
commit 3ca203eb8e

View File

@ -783,7 +783,7 @@ def mod_repo(repo, **kwargs):
cmd_opt.append('--gpg-auto-import-keys')
if 'priority' in kwargs:
cmd_opt.append("--priority='{0}'".format(kwargs.get('priority', DEFAULT_PRIORITY)))
cmd_opt.append("--priority={0}".format(kwargs.get('priority', DEFAULT_PRIORITY)))
if 'humanname' in kwargs:
cmd_opt.append("--name='{0}'".format(kwargs.get('humanname')))