mirror of
https://github.com/kennethreitz-archive/reflog.git
synced 2026-06-05 15:30:19 +00:00
collector push
This commit is contained in:
+6
-1
@@ -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)
|
||||
Reference in New Issue
Block a user