[Checkins] SVN: zopetoolkit/doc/scripts/update-releaseinfo.py Less Wah!
Hanno Schlichting
hannosch at hannosch.eu
Sat Jun 26 06:50:11 EDT 2010
Log message for revision 113880:
Less Wah!
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:43:40 UTC (rev 113879)
+++ zopetoolkit/doc/scripts/update-releaseinfo.py 2010-06-26 10:50:11 UTC (rev 113880)
@@ -58,13 +58,7 @@
doap = xml.etree.ElementTree.ElementTree()
doap.parse(doap_xml)
description = doap.find('//{%s}shortdesc' % DOAP_NS).text
- homepage = doap.find('//{%s}homepage' % DOAP_NS)
- if homepage:
- homepage = doap.find('//{%s}homepage' % DOAP_NS).get(
- '{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource', '')
- else:
- # Wah.
- homepage = 'http://pypi.python.org'
+ homepage = 'http://pypi.python.org/pypi/%s/%s' % (package, version)
print >>output, line % dict(
name=package, homepage=homepage,
description=description, version=version)
More information about the checkins
mailing list