mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue