mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
fix to handle nonexistent system_id
This commit is contained in:
parent
090b3fad8e
commit
7df027f826
@ -41,6 +41,8 @@ def get_system_id(filname):
|
||||
pass
|
||||
finally:
|
||||
f.close()
|
||||
if system_id:
|
||||
system_id = system_id.strip()
|
||||
return system_id
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user