1
0
mirror of https://github.com/ansible/awx-facts-playbooks.git synced 2026-02-05 15:45:03 +01:00

Merge pull request #5 from gamuniz/master

fix to handle nonexistent system_id
This commit is contained in:
Ryan Petrello
2018-08-03 15:52:58 -04:00
committed by GitHub

View File

@@ -41,7 +41,9 @@ def get_system_id(filname):
pass
finally:
f.close()
return system_id.strip()
if system_id:
system_id = system_id.strip()
return system_id
def main():