[Python-checkins] python/dist/src/Lib platform.py,1.5.8.3,1.5.8.4
gvanrossum at users.sourceforge.net
gvanrossum at users.sourceforge.net
Tue May 4 14:18:25 EDT 2004
- Previous message: [Python-checkins] python/dist/src/Lib keyword.py, 1.13,
1.14 _strptime.py, 1.31, 1.32 ConfigParser.py, 1.62,
1.63 robotparser.py, 1.18, 1.19 webbrowser.py, 1.35,
1.36 gettext.py, 1.22, 1.23 httplib.py, 1.83, 1.84
- Next message: [Python-checkins] python/dist/src/Lib platform.py,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17510
Modified Files:
Tag: release23-maint
platform.py
Log Message:
Using reversed() is not compatible with Python 1.5.2.
Index: platform.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/platform.py,v
retrieving revision 1.5.8.3
retrieving revision 1.5.8.4
diff -C2 -d -r1.5.8.3 -r1.5.8.4
*** platform.py 25 Mar 2004 18:35:38 -0000 1.5.8.3
--- platform.py 4 May 2004 18:18:23 -0000 1.5.8.4
***************
*** 203,207 ****
# Check for slackware verson tag file (thanks to Greg Andruk)
verfiles = os.listdir('/usr/lib/setup')
! for n in reversed(xrange(len(verfiles))):
if verfiles[n][:14] != 'slack-version-':
del verfiles[n]
--- 203,207 ----
# Check for slackware verson tag file (thanks to Greg Andruk)
verfiles = os.listdir('/usr/lib/setup')
! for n in range(len(verfiles)-1, -1, -1):
if verfiles[n][:14] != 'slack-version-':
del verfiles[n]
- Previous message: [Python-checkins] python/dist/src/Lib keyword.py, 1.13,
1.14 _strptime.py, 1.31, 1.32 ConfigParser.py, 1.62,
1.63 robotparser.py, 1.18, 1.19 webbrowser.py, 1.35,
1.36 gettext.py, 1.22, 1.23 httplib.py, 1.83, 1.84
- Next message: [Python-checkins] python/dist/src/Lib platform.py,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list