[pypy-svn] r44270 - pypy/branch/graphserver-dist/dotviewer

arigo at codespeak.net arigo at codespeak.net
Fri Jun 15 11:13:01 CEST 2007


Author: arigo
Date: Fri Jun 15 11:13:01 2007
New Revision: 44270

Modified:
   pypy/branch/graphserver-dist/dotviewer/graphparse.py
Log:
Typos.


Modified: pypy/branch/graphserver-dist/dotviewer/graphparse.py
==============================================================================
--- pypy/branch/graphserver-dist/dotviewer/graphparse.py	(original)
+++ pypy/branch/graphserver-dist/dotviewer/graphparse.py	Fri Jun 15 11:13:01 2007
@@ -68,7 +68,7 @@
             del lines[i+1]
     header = splitline(lines.pop(0))
     if header[0] != 'graph':
-        raise PlainParseError("%s: should start with 'graph'" % (plainfile,))
+        raise PlainParseError("should start with 'graph'")
     yield (msgstruct.CMSG_START_GRAPH, graph_id) + tuple(header[1:])
 
     texts = []
@@ -76,7 +76,7 @@
         line = splitline(line)
         if line[0] == 'node':
             if len(line) != 11:
-                raise PlainParseError("%s: bad 'node'" % (plainfile,))
+                raise PlainParseError("bad 'node'")
             yield (msgstruct.CMSG_ADD_NODE,) + tuple(line[1:])
             texts.append(line[6])
         if line[0] == 'edge':



More information about the Pypy-commit mailing list