--- a/sbsv2/raptor/test/common/raptor_tests.py Tue Jan 19 18:53:34 2010 +0000
+++ b/sbsv2/raptor/test/common/raptor_tests.py Tue Jan 19 19:32:36 2010 +0000
@@ -166,7 +166,7 @@
print "\nEPOCROOT-CLEAN ERROR:"
print (sys.exc_type.__name__ + ":"), \
sys.exc_value
- if sys.exc_type.__name__ == "WindowsError":
+ if sys.exc_type.__name__ != "WindowsError":
print traceback.print_tb(sys.exc_traceback)
# This loop handles folders
@@ -182,8 +182,9 @@
except:
print "\nEPOCROOT-CLEAN ERROR:"
print (sys.exc_type.__name__ + ":"), \
- sys.exc_value, "\n", \
- traceback.print_tb(sys.exc_traceback)
+ sys.exc_value
+ if sys.exc_type.__name__ != "WindowsError":
+ print traceback.print_tb(sys.exc_traceback)
except IOError,e:
print e