1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #1200 from broferek/master

Fix for issue #1194
This commit is contained in:
Michael DeHaan 2012-10-02 06:27:03 -07:00
commit 56d45074af

View file

@ -118,7 +118,7 @@ def which_cmdfile():
if os.path.exists(path): if os.path.exists(path):
for line in open(path): for line in open(path):
if line.startswith('command_file'): if line.startswith('command_file'):
return line.partition('=')[2].strip() return line.split('=')[1].strip()
return None return None