Fix for bug #303129: equery meta's keyword sorting should match ekeyword.
Merge from genscripts r455: douglasjanderson
Small backend and source mods.
Merge from genscripts r432: brian.dolbec
fix Bug 317899 traceback due to incorrectly using pass instead of continue in
two locations.
Merge from genscripts r426: andkit
add $mask2 to the list of allowed placeholders for --help.
svn path=/trunk/gentoolkit/; revision=804
result = []
- for kw in sorted(keywords, key=keyword.Keyword):
+ for kw in sorted(keywords, keyword.compare_strs):
if kw.startswith('-'):
# arch masked
kw = pp.keyword(kw, stable=False, hard_masked=True)
'Keyword',
'compare_strs',
'reduce_keywords',
- 'determine_keywords'
+ 'determine_keyword'
)
# =======
return self.keyword
def __repr__(self):
- return "<Keyword {0.keyword!r}>".format(self)
+ return "<{0.__class__.__name__} {0.keyword!r}>".format(self)
# =========
# Functions
'Thomas Mills Hinkle'
"""
-# Move to Imports section after Python-2.6 is stable
-
-
__all__ = ('MetaData',)
__docformat__ = 'epytext'
try:
st = os.lstat(f)
except OSError:
- pass
+ continue
# Remove hardlinks by checking for duplicate inodes. Bug #301026.
file_inode = st.st_ino
if file_inode in seen:
- pass
+ continue
seen.add(file_inode)
try: