changeset 107:2de1c1410b77

reversed, not reverse, and make it a list
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 22 Jan 2011 17:20:01 -0800
parents a53587f82e6f
children 3f4e4bbde2e4
files autobot/changes/poller.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/changes/poller.py	Sat Jan 22 17:17:57 2011 -0800
+++ b/autobot/changes/poller.py	Sat Jan 22 17:20:01 2011 -0800
@@ -315,7 +315,7 @@
             changes = raw_changes.strip()
             if not changes:
                 return []
-            return reverse(changes.split()) 
+            return list(reversed(changes.split()))
         d.addCallback(split_changes)
         
         return d