Skip to content

Commit

Permalink
Merge pull request #31264 from sjorge/if_missing-155-fix
Browse files Browse the repository at this point in the history
fix if_missing gets appended to dirs list, take III
  • Loading branch information
Mike Place committed Feb 17, 2016
2 parents fa3f474 + 545edbf commit cec69b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions salt/states/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ def extracted(name,
if len(files) > 0:
ret['result'] = True
ret['changes']['directories_created'] = [name]
if if_missing != name:
ret['changes']['directories_created'].append(if_missing)
ret['changes']['extracted_files'] = files
ret['comment'] = '{0} extracted in {1}'.format(source, name)
if not keep:
Expand Down

0 comments on commit cec69b7

Please sign in to comment.