From 104c46bce3f3c45f0d5e41abfcef0d4aff318a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 7 Sep 2004 15:37:26 +0000 Subject: [PATCH] Support Python 2.2. --- Tools/msi/msilib.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tools/msi/msilib.py b/Tools/msi/msilib.py index 4595246880c..5f8ef28ab6b 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