Accel: Better call return data.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 16 Mar 2010 05:45:44 +0000 (22:45 -0700)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 16 Mar 2010 05:45:44 +0000 (22:45 -0700)
bulletml/parser.py

index 0af66943893632fedcd3f5dac68a7defc216cb75..8bea044914be3701d9edf6d99bc447a7cea23fd6 100644 (file)
@@ -181,10 +181,8 @@ class Accel(object):
 
     def __call__(self, params, rank):
         frames = self.term(params, rank)
-        horizontal = self.horizontal and (
-            self.horizontal(params, rank), self.horizontal.type)
-        vertical = self.vertical and (
-            self.vertical(params, rank), self.vertical.type)
+        horizontal = self.horizontal and self.horizontal(params, rank)
+        vertical = self.vertical and self.vertical(params, rank)
         return frames, horizontal, vertical
 
     def __repr__(self):