[py-svn] r20164 - py/dist/py/bin

mwh at codespeak.net mwh at codespeak.net
Tue Nov 22 12:35:53 CET 2005


Author: mwh
Date: Tue Nov 22 12:35:53 2005
New Revision: 20164

Modified:
   py/dist/py/bin/py.lookup
Log:
add a colon after the line number in py.lookup's output -- this means
that emacs's grep mode recognizes the output and you can jump between
hits with C-x `.


Modified: py/dist/py/bin/py.lookup
==============================================================================
--- py/dist/py/bin/py.lookup	(original)
+++ py/dist/py/bin/py.lookup	Tue Nov 22 12:35:53 2005
@@ -14,4 +14,4 @@
         lines = x.readlines()
         for i, line in enumerate(lines): 
             if line.find(string) != -1:
-                print "%s:%d  %s" %(x.relto(curdir), i+1, line.rstrip())
+                print "%s:%d:  %s" %(x.relto(curdir), i+1, line.rstrip())



More information about the pytest-commit mailing list