mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Bugfix (follow-up): setting priority requires non-positive integer
This commit is contained in:
parent
79a46e091c
commit
3ca203eb8e
@ -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')))
|
||||
|
Loading…
Reference in New Issue
Block a user