collector push

This commit is contained in:
Kenneth Reitz
2011-04-02 18:25:41 -04:00
parent 7748fa3c15
commit 4e77439fe5
+6 -1
View File
@@ -30,4 +30,9 @@ def show_changelog():
r = requests.get(GH_CHANGELOG_URL)
tree = objectify.fromstring(r.content)
return str(dir(tree))
collector = []
for commit in tree.xpath('//entry'):
collector.append(commit.title)
return '\n'.join(collector)