[py-svn] r15345 - py/dist/py

hpk at codespeak.net hpk at codespeak.net
Fri Jul 29 15:02:50 CEST 2005


Author: hpk
Date: Fri Jul 29 15:02:49 2005
New Revision: 15345

Modified:
   py/dist/py/initpkg.py
Log:
basestring is not python 2.2


Modified: py/dist/py/initpkg.py
==============================================================================
--- py/dist/py/initpkg.py	(original)
+++ py/dist/py/initpkg.py	Fri Jul 29 15:02:49 2005
@@ -67,7 +67,7 @@
         assert fspath.startswith('./'), \
                "%r is not an implementation path (XXX)" % (extpyish,)
         implmodule = self._loadimpl(fspath[:-3])
-        if not isinstance(modpath, basestring): # export the entire module
+        if not isinstance(modpath, str): # export the entire module
             return implmodule
 
         current = implmodule



More information about the pytest-commit mailing list