mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 21:54:22 -07:00
This commit is contained in:
parent
9bab05bafc
commit
17423c9268
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue