[Python-checkins] python/dist/src/Lib site.py,1.52,1.53
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Fri, 18 Jul 2003 10:45:35 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv22117
Modified Files:
site.py
Log Message:
Repair operator error.
Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** site.py 18 Jul 2003 17:24:07 -0000 1.52
--- site.py 18 Jul 2003 17:45:33 -0000 1.53
***************
*** 92,105 ****
if (os.name == "posix" and sys.path and
os.path.basename(sys.path[-1]) == "Modules"):
! s = "build/lib.%s-%.3s" % ("linux-i686", sys.version)
s = os.path.join(os.path.dirname(sys.path[-1]), s)
sys.path.append(s)
! ##if (os.name == "posix" and sys.path and
! ## os.path.basename(sys.path[-1]) == "Modules"):
! ## from distutils.util import get_platform
! ## s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
! ## s = os.path.join(os.path.dirname(sys.path[-1]), s)
! ## sys.path.append(s)
! ## del get_platform, s
def _init_pathinfo():
--- 92,100 ----
if (os.name == "posix" and sys.path and
os.path.basename(sys.path[-1]) == "Modules"):
! from distutils.util import get_platform
! s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
s = os.path.join(os.path.dirname(sys.path[-1]), s)
sys.path.append(s)
! del get_platform, s
def _init_pathinfo():