From a7295f6fd71242322dd1bad19a90462c188f153f Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Mon, 15 Mar 2010 22:45:44 -0700 Subject: [PATCH] Accel: Better call return data. --- bulletml/parser.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bulletml/parser.py b/bulletml/parser.py index 0af6694..8bea044 100644 --- a/bulletml/parser.py +++ b/bulletml/parser.py @@ -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): -- 2.20.1