- 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.
This commit is contained in:
Jack Jansen 2004-12-28 21:33:27 +00:00
parent 935ca1018e
commit 702af67d47
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ import shutil
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 @@ def getDefaultDatabase(experimental=False):
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()