sbsv2/raptor/python/plugins/filter_clean.py
branchwip
changeset 20 d1f6767eec1a
parent 5 593a8820b912
--- a/sbsv2/raptor/python/plugins/filter_clean.py	Fri Nov 27 15:16:54 2009 +0000
+++ b/sbsv2/raptor/python/plugins/filter_clean.py	Sat Nov 28 00:09:57 2009 +0000
@@ -93,8 +93,8 @@
 					dirs.add(directory)
 					
 			self.tmp.close()	# this also deletes the temporary file
-		except:
-			sys.stderr.write("sbs: could not access temporary file for FilterClean\n")
+		except Exception,e:
+			sys.stderr.write("sbs: problem reading temporary file for FilterClean: %s\n" % str(e))
 			self.ok = False
 		
 		# finally remove (empty) directories