[Checkins] SVN: zopetoolkit/doc/scripts/update-releaseinfo.py Get first element of the tuple
Hanno Schlichting
hannosch at hannosch.eu
Wed Jun 29 05:16:07 EDT 2011
Log message for revision 122035:
Get first element of the tuple
Changed:
U zopetoolkit/doc/scripts/update-releaseinfo.py
-=-
Modified: zopetoolkit/doc/scripts/update-releaseinfo.py
===================================================================
--- zopetoolkit/doc/scripts/update-releaseinfo.py 2011-06-29 09:14:19 UTC (rev 122034)
+++ zopetoolkit/doc/scripts/update-releaseinfo.py 2011-06-29 09:16:06 UTC (rev 122035)
@@ -88,9 +88,12 @@
continue
releases.append((tag, os.path.join(TAGS_DIR, tag)))
-releases.sort(_key=parse_version)
+def _sort(entry):
+ return parse_version(entry[0])
+releases.sort(_key=_sort)
+
for release, location in releases:
print "Writing package list for", release
config = ConfigParser.RawConfigParser()
More information about the checkins
mailing list