[Python-checkins] python/dist/src/Lib site.py,1.53.6.3,1.53.6.4

jhylton at users.sourceforge.net jhylton at users.sourceforge.net
Tue Dec 2 10:00:57 EST 2003


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv1690

Modified Files:
      Tag: release23-maint
	site.py 
Log Message:
Revert previous checkin.  It was meant for another branch.


Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.53.6.3
retrieving revision 1.53.6.4
diff -C2 -d -r1.53.6.3 -r1.53.6.4
*** site.py	2 Dec 2003 12:43:52 -0000	1.53.6.3
--- site.py	2 Dec 2003 15:00:54 -0000	1.53.6.4
***************
*** 92,98 ****
  if (os.name == "posix" and sys.path and
      os.path.basename(sys.path[-1]) == "Modules"):
! ##    from distutils.util import get_platform
!     def get_platform():
!         return "linux-i686"
      s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
      s = os.path.join(os.path.dirname(sys.path[-1]), s)
--- 92,96 ----
  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)





More information about the Python-checkins mailing list