mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #42464 from garethgreenaway/2016_11_remove_tmp_identity_file
[2016.11] Small fix to modules/git.py
This commit is contained in:
commit
4bf35a74de
@ -261,7 +261,7 @@ def _git_run(command, cwd=None, user=None, password=None, identity=None,
|
||||
# Cleanup the temporary identify file
|
||||
if tmp_identity_file and os.path.exists(tmp_identity_file):
|
||||
log.debug('Removing identify file {0}'.format(tmp_identity_file))
|
||||
#__salt__['file.remove'](tmp_identity_file)
|
||||
__salt__['file.remove'](tmp_identity_file)
|
||||
|
||||
# If the command was successful, no need to try additional IDs
|
||||
if result['retcode'] == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user