mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Stringify version number before lstrip
This commit is contained in:
parent
a27b158153
commit
93c41afd23
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ def install(name=None,
|
|||
ver2=cver,
|
||||
cmp_func=version_cmp):
|
||||
downgrade = True
|
||||
targets.append('{0}={1}'.format(param, version_num.lstrip('=')))
|
||||
targets.append('{0}={1}'.format(param, str(version_num).lstrip('=')))
|
||||
if fromrepo:
|
||||
log.info('Targeting repo {0!r}'.format(fromrepo))
|
||||
cmd = ['apt-get', '-q', '-y']
|
||||
|
|
Loading…
Add table
Reference in a new issue