mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 18:07:36 -02:30
fix to handle nonexistent system_id
This commit is contained in:
@@ -41,6 +41,8 @@ def get_system_id(filname):
|
|||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
f.close()
|
f.close()
|
||||||
|
if system_id:
|
||||||
|
system_id = system_id.strip()
|
||||||
return system_id
|
return system_id
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user