From 4e77439fe505d1a84cd9ea0794a7b0424c049b42 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 2 Apr 2011 18:25:41 -0400 Subject: [PATCH] collector push --- dashboard/core.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dashboard/core.py b/dashboard/core.py index cb788b9..43729db 100644 --- a/dashboard/core.py +++ b/dashboard/core.py @@ -30,4 +30,9 @@ def show_changelog(): r = requests.get(GH_CHANGELOG_URL) tree = objectify.fromstring(r.content) - return str(dir(tree)) \ No newline at end of file + collector = [] + + for commit in tree.xpath('//entry'): + collector.append(commit.title) + + return '\n'.join(collector) \ No newline at end of file