Commit c6b26ff7 by Toshio Kuratomi

Remove duplicate call to remove tmp role file

parent 1e68041f
...@@ -810,8 +810,6 @@ def execute_install(args, options, parser): ...@@ -810,8 +810,6 @@ def execute_install(args, options, parser):
else: else:
print '- dependency %s is already installed, skipping.' % dep["name"] print '- dependency %s is already installed, skipping.' % dep["name"]
if not tmp_file or not installed: if not tmp_file or not installed:
if tmp_file and installed:
os.unlink(tmp_file)
print "- %s was NOT installed successfully." % role.get("name") print "- %s was NOT installed successfully." % role.get("name")
exit_without_ignore(options) exit_without_ignore(options)
sys.exit(0) sys.exit(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment