From c6b26ff7c79cd73c98b161022044f3678ab7378d Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 15 Sep 2014 14:45:57 -0700 Subject: [PATCH] Remove duplicate call to remove tmp role file --- bin/ansible-galaxy | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy index 81be7b111a..95d7453e05 100755 --- a/bin/ansible-galaxy +++ b/bin/ansible-galaxy @@ -810,8 +810,6 @@ def execute_install(args, options, parser): else: print '- dependency %s is already installed, skipping.' % dep["name"] 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") exit_without_ignore(options) sys.exit(0)