Skip to content

Commit

Permalink
Remove nexus output folder when nxsbuild fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Mar 28, 2017
1 parent e9b9648 commit 843901a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/GenerateNexus.py
Expand Up @@ -110,7 +110,7 @@ def extract_inType(abspath, site_id, nexusDir):
def error(errorMessage, outFolder):
logging.error(errorMessage)
logging.info('Removing %s ' % outFolder)
# shutil.rmtree(outFolder)
shutil.rmtree(outFolder)
raise Exception(errorMessage)

def run(opts):
Expand Down

0 comments on commit 843901a

Please sign in to comment.