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

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Feb 1 21:25:52 CET 2006


Author: cfbolz
Date: Wed Feb  1 21:25:51 2006
New Revision: 22933

Modified:
   py/dist/py/bin/py.lookup
Log:
umpf. where are the tests for this thing?


Modified: py/dist/py/bin/py.lookup
==============================================================================
--- py/dist/py/bin/py.lookup	(original)
+++ py/dist/py/bin/py.lookup	Wed Feb  1 21:25:51 2006
@@ -20,6 +20,9 @@
         string = string.lower()
     for x in curdir.visit('*.py', rec): 
         s = x.read()
+        searchs = s
+        if options.ignorecase:
+            searchs = s.lower()
         if s.find(string) != -1:
             lines = s.splitlines()
             if options.ignorecase:



More information about the pytest-commit mailing list