mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Set default value for pip_install_call.get('stdout')
This commit is contained in:
parent
4b0c342f71
commit
bfa756cc9e
@ -433,7 +433,7 @@ def installed(name,
|
||||
if requirements or editable:
|
||||
comments = []
|
||||
if requirements:
|
||||
for eachline in pip_install_call.get('stdout').split('\n'):
|
||||
for eachline in pip_install_call.get('stdout', '').split('\n'):
|
||||
if not eachline.startswith('Requirement already satisfied') and eachline != 'Cleaning up...':
|
||||
ret['changes']['requirements'] = True
|
||||
if ret['changes'].get('requirements'):
|
||||
|
Loading…
Reference in New Issue
Block a user