summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-09-07 15:37:26 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-09-07 15:37:26 (GMT)
commit104c46bce3f3c45f0d5e41abfcef0d4aff318a60 (patch)
treef269782433dba4485baefe0ac69fe0db948b194c /Tools
parent8f00a24229f372c9edc00eb5b17935334e891199 (diff)
downloadcpython-104c46bce3f3c45f0d5e41abfcef0d4aff318a60.zip
cpython-104c46bce3f3c45f0d5e41abfcef0d4aff318a60.tar.gz
cpython-104c46bce3f3c45f0d5e41abfcef0d4aff318a60.tar.bz2
Support Python 2.2.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msilib.py5
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