Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
start-testcase-DMM file addition
[csit.git]
/
resources
/
tools
/
virl
/
bin
/
start-testcase
diff --git
a/resources/tools/virl/bin/start-testcase
b/resources/tools/virl/bin/start-testcase
index
ce47378
..
9e63f8d
100755
(executable)
--- a/
resources/tools/virl/bin/start-testcase
+++ b/
resources/tools/virl/bin/start-testcase
@@
-386,7
+386,7
@@
def main():
auth=(args.username, args.password))
try:
shutil.rmtree(scratch_directory)
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)
print_to_stderr("ERROR: Removing scratch directory")
print "{}".format(session_id)
sys.exit(1)
@@
-424,7
+424,7
@@
def main():
auth=(args.username, args.password))
try:
shutil.rmtree(scratch_directory)
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)
print_to_stderr("ERROR: Removing scratch directory")
print "{}".format(session_id)
sys.exit(1)
@@
-499,7
+499,7
@@
def main():
auth=(args.username, args.password))
try:
shutil.rmtree(scratch_directory)
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)
print_to_stderr("ERROR: Removing scratch directory")
print "{}".format(session_id)
sys.exit(1)