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

hpk at codespeak.net hpk at codespeak.net
Sun Mar 6 10:12:20 CET 2005


Author: hpk
Date: Sun Mar  6 10:12:20 2005
New Revision: 9672

Modified:
   py/dist/py/bin/_findpy.py
Log:
relax checks for finding the py library to assume 
that it is just on sys.path if a version cannot be 
found nearby ...


Modified: py/dist/py/bin/_findpy.py
==============================================================================
--- py/dist/py/bin/_findpy.py	(original)
+++ py/dist/py/bin/_findpy.py	Sun Mar  6 10:12:20 2005
@@ -27,6 +27,6 @@
 if not searchpy(abspath(os.curdir)):
     if not searchpy(opd(abspath(sys.argv[0]))):
         if not searchpy(opd(__file__)):
-            raise SystemExit, "Could not find 'py' package!"
+            pass # let's hope it is just on sys.path 
 
 import py



More information about the pytest-commit mailing list