auth=(args.username, args.password))
try:
shutil.rmtree(scratch_directory)
- except shutil.Error:
+ except:
print_to_stderr("ERROR: Removing scratch directory")
print "{}".format(session_id)
sys.exit(1)
auth=(args.username, args.password))
try:
shutil.rmtree(scratch_directory)
- except shutil.Error:
+ except:
print_to_stderr("ERROR: Removing scratch directory")
print "{}".format(session_id)
sys.exit(1)
auth=(args.username, args.password))
try:
shutil.rmtree(scratch_directory)
- except shutil.Error:
+ except:
print_to_stderr("ERROR: Removing scratch directory")
print "{}".format(session_id)
sys.exit(1)