~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set() is not a builtin function in Python 2.3
[stgit]
/
stgit
/
git.py
diff --git
a/stgit/git.py
b/stgit/git.py
index
e30b959
..
c7cc6a7
100644
(file)
--- a/
stgit/git.py
+++ b/
stgit/git.py
@@
-23,6
+23,7
@@
import sys, os, popen2, re, gitmergeonefile
from stgit import basedir
from stgit.utils import *
from stgit.config import config
from stgit import basedir
from stgit.utils import *
from stgit.config import config
+from sets import Set
# git exception class
class GitException(Exception):
# git exception class
class GitException(Exception):
@@
-913,9
+914,9
@@
def remotes_list():
"""Return the list of remotes in the repository
"""
"""Return the list of remotes in the repository
"""
- return
s
et(__remotes_from_config()) | \
-
s
et(__remotes_from_dir('remotes')) | \
-
s
et(__remotes_from_dir('branches'))
+ return
S
et(__remotes_from_config()) | \
+
S
et(__remotes_from_dir('remotes')) | \
+
S
et(__remotes_from_dir('branches'))
def remotes_local_branches(remote):
"""Returns the list of local branches fetched from given remote
def remotes_local_branches(remote):
"""Returns the list of local branches fetched from given remote