From a9d76897bc625a684716a899fc20a7a084875f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 5 Oct 2005 09:05:16 +0000 Subject: [PATCH] python 2.3 comp.. --- pisi/install.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pisi/install.py b/pisi/install.py index b9c0e40c..ac06a200 100644 --- a/pisi/install.py +++ b/pisi/install.py @@ -14,6 +14,13 @@ # Author: Eray Ozkural + +# for python 2.3 compatibility +import sys +ver = sys.version_info +if ver[0] <= 2 and ver[1] < 4: + from sets import Set as set + import os import gettext