Log message for revision 124568:
  Backport r124566 from the trunk.

Changed:
  U   Zope/branches/2.12/src/Zope2/utilities/requestprofiler.py

-=-
Modified: Zope/branches/2.12/src/Zope2/utilities/requestprofiler.py
===================================================================
--- Zope/branches/2.12/src/Zope2/utilities/requestprofiler.py   2012-03-11 
16:43:08 UTC (rev 124567)
+++ Zope/branches/2.12/src/Zope2/utilities/requestprofiler.py   2012-03-11 
16:44:05 UTC (rev 124568)
@@ -814,7 +814,7 @@
         elif mode=='urlfocus':
             sortf = Sort('start', ascending=1)
         else:
-            raise 'Invalid mode'
+            raise ValueError('Invalid mode')
 
         req=get_requests(files, start, end, statsfname, writestats, readstats)
         analyze(req, top, sortf, start, end, mode, resolution, urlfocusurl,

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to