projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0264e6
)
Add python 2.3 compatibility code for the set builtin.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 5 Jun 2006 07:43:43 +0000
(07:43 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 5 Jun 2006 07:43:43 +0000
(07:43 -0000)
svn path=/main/trunk/; revision=3460
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 83f4b96cb254313bd0029b1c25f7f8a3c28764af..c987dc3e2648c4ffab0a89019402907ca622d091 100755
(executable)
--- 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