[Python-checkins] python/dist/src/Lib/plat-mac pimp.py, 1.35,
1.35.4.1
jackjansen at users.sourceforge.net
jackjansen at users.sourceforge.net
Tue Dec 28 22:53:51 CET 2004
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13532
Modified Files:
Tag: release24-maint
pimp.py
Log Message:
Backport of 1.36:
- getDefaultDatabase wasn't listed in __all__.
- using a different database for non-final releases should only be done
for X.Y.0. Non-final micro releases can use the default database just fine,
as they are required to be backward compatible.
Index: pimp.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/pimp.py,v
retrieving revision 1.35
retrieving revision 1.35.4.1
diff -u -d -r1.35 -r1.35.4.1
--- pimp.py 18 Jul 2004 06:14:45 -0000 1.35
+++ pimp.py 28 Dec 2004 21:53:49 -0000 1.35.4.1
@@ -28,7 +28,7 @@
import time
__all__ = ["PimpPreferences", "PimpDatabase", "PimpPackage", "main",
- "PIMP_VERSION", "main"]
+ "getDefaultDatabase", "PIMP_VERSION", "main"]
_scriptExc_NotInstalled = "pimp._scriptExc_NotInstalled"
_scriptExc_OldInstalled = "pimp._scriptExc_OldInstalled"
@@ -55,7 +55,7 @@
major, minor, micro, state, extra = sys.version_info
pyvers = '%d.%d' % (major, minor)
- if state != 'final':
+ if micro == 0 and state != 'final':
pyvers = pyvers + '%s%d' % (state, extra)
longplatform = distutils.util.get_platform()
More information about the Python-checkins
mailing list