[Zodb-checkins] CVS: ZODB3/Tools - parsezeolog.py:1.3

Jeremy Hylton jeremy@zope.com
Thu, 12 Dec 2002 16:27:34 -0500


Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv10261

Modified Files:
	parsezeolog.py 
Log Message:
Update parse_line() to always return 2-tuple on error, not 3-tuple.


=== ZODB3/Tools/parsezeolog.py 1.2 => 1.3 ===
--- ZODB3/Tools/parsezeolog.py:1.2	Thu Dec 12 16:21:08 2002
+++ ZODB3/Tools/parsezeolog.py	Thu Dec 12 16:27:33 2002
@@ -29,10 +29,10 @@
     """Parse a log entry and return time, method info, and client."""
     t = parse_time(line)
     if t is None:
-        return None, None, None
+        return None, None
     mo = rx_meth.search(line)
     if mo is None:
-        return None, None, None
+        return None, None
     meth_name = mo.group(1)
     meth_args = mo.group(2).strip()
     if meth_args.endswith(')'):