From 049b49eaf3005f745b9e9d45f907d462f6dd2c60 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 5 Jun 2006 07:43:43 +0000 Subject: [PATCH] Add python 2.3 compatibility code for the set builtin. svn path=/main/trunk/; revision=3460 --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/repoman b/bin/repoman index 83f4b96cb..c987dc3e2 100755 --- a/bin/repoman +++ b/bin/repoman @@ -8,6 +8,8 @@ # that last one is tricky because multiple profiles need to be checked. import os,sys,shutil +if not hasattr(__builtins__, "set"): + from sets import Set as set exename=os.path.basename(sys.argv[0]) os.environ["PORTAGE_CALLER"]="repoman" sys.path = ["/usr/lib/portage/pym"]+sys.path -- 2.26.2