[Checkins] SVN: zopetoolkit/doc/scripts/update-releaseinfo.py Deal with empty deprecating set
Hanno Schlichting
hannosch at hannosch.eu
Sat Jun 26 06:43:40 EDT 2010
Log message for revision 113879:
Deal with empty deprecating set
Changed:
U zopetoolkit/doc/scripts/update-releaseinfo.py
-=-
Modified: zopetoolkit/doc/scripts/update-releaseinfo.py
===================================================================
--- zopetoolkit/doc/scripts/update-releaseinfo.py 2010-06-26 10:38:08 UTC (rev 113878)
+++ zopetoolkit/doc/scripts/update-releaseinfo.py 2010-06-26 10:43:40 UTC (rev 113879)
@@ -107,15 +107,16 @@
included = packages(config, 'included')
package_list(included, versions, output)
- print >>output, 'Deprecating'
- print >>output, '-----------'
- review = packages(config, 'deprecating')
- package_list(review, versions, output)
+ deprecating = packages(config, 'deprecating')
+ if deprecating:
+ print >>output, 'Deprecating'
+ print >>output, '-----------'
+ package_list(deprecating, versions, output)
print >>output, 'Dependencies'
print >>output, '------------'
all = versions.options('versions')
- dependencies = set(all) - (set(included) | set(review))
+ dependencies = set(all) - (set(included) | set(deprecating))
package_list(dependencies, versions, output, DEPENDENCY_PACKAGE_LINE)
output.close()
More information about the checkins
mailing list