diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-09-07 15:37:26 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-09-07 15:37:26 (GMT) |
commit | 104c46bce3f3c45f0d5e41abfcef0d4aff318a60 (patch) | |
tree | f269782433dba4485baefe0ac69fe0db948b194c /Tools/msi/msilib.py | |
parent | 8f00a24229f372c9edc00eb5b17935334e891199 (diff) | |
download | cpython-104c46bce3f3c45f0d5e41abfcef0d4aff318a60.zip cpython-104c46bce3f3c45f0d5e41abfcef0d4aff318a60.tar.gz cpython-104c46bce3f3c45f0d5e41abfcef0d4aff318a60.tar.bz2 |
Support Python 2.2.
Diffstat (limited to 'Tools/msi/msilib.py')
-rw-r--r-- | Tools/msi/msilib.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/msi/msilib.py b/Tools/msi/msilib.py index 4595246..5f8ef28 100644 --- a/Tools/msi/msilib.py +++ b/Tools/msi/msilib.py @@ -7,6 +7,11 @@ import pythoncom, pywintypes from win32com.client import constants import re, string, os, sets, glob, popen2, sys, _winreg +try: + basestring +except NameError: + basestring = (str, unicode) + Win64 = 0 # Partially taken from Wine |