[svn] r5283 - trunk/tools/dstat

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Tue Apr 17 18:19:41 CEST 2007


Author: dag
Date: 2007-04-17 18:19:41 +0200 (Tue, 17 Apr 2007)
New Revision: 5283

Modified:
   trunk/tools/dstat/ChangeLog
   trunk/tools/dstat/dstat
Log:
Disabled the generic exception handling of OSError and IOError to force a stacktrace (supastuff at freenode)

Modified: trunk/tools/dstat/ChangeLog
===================================================================
--- trunk/tools/dstat/ChangeLog	2007-04-17 15:52:14 UTC (rev 5282)
+++ trunk/tools/dstat/ChangeLog	2007-04-17 16:19:41 UTC (rev 5283)
@@ -1,10 +1,11 @@
-* 0.6.5 - ... - released 28/12/2006
+* 0.6.5 - Torrox - released 17/04/2007
 - Added VMware ESX plugins (Bert de Bruijn)
 - Added tcp6 and udp6 statistics within dstat_tcp and dstat_udp
 - Added module readlines() taking care of seek() and multiple files
 - Improved module exception messages
 - Fixed a problem with strings and CSV output in dstat_time and dstat_app (Vinod Kutty)
 - Removed broken dstat_clock plugin (use dstat_time or dstat_epoch)
+- Disabled the generic exception handling of OSError and IOError to force a stacktrace (supastuff at freenode)
 
 * 0.6.4 - Ahoy - released 12/12/2006
 - Fixed dstat_clock to use localtime() instead of gmtime()

Modified: trunk/tools/dstat/dstat
===================================================================
--- trunk/tools/dstat/dstat	2007-04-17 15:52:14 UTC (rev 5282)
+++ trunk/tools/dstat/dstat	2007-04-17 16:19:41 UTC (rev 5283)
@@ -1926,15 +1926,15 @@
 		main()
 	except KeyboardInterrupt, e:
 		print
-	except IOError, e:
-		if e.errno != 32:				## [Errno 32] Broken pipe
-			print
-			print 'IOError: %s' % e
-			exit(7)
-	except OSError, e:
-		print
-		print 'OSError: %s' % e
-		exit(7)
+#	except IOError, e:
+#		if e.errno != 32:				## [Errno 32] Broken pipe
+#			print
+#			print 'IOError: %s' % e
+#			exit(7)
+#	except OSError, e:
+#		print
+#		print 'OSError: %s' % e
+#		exit(7)
 	exit(0)
 else:
 	op = Options('')



More information about the svn-commits mailing list