projects
/
python-bulletml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9104092
)
Accel: Better call return data.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Tue, 16 Mar 2010 05:45:44 +0000
(22:45 -0700)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Tue, 16 Mar 2010 05:45:44 +0000
(22:45 -0700)
bulletml/parser.py
patch
|
blob
|
history
diff --git
a/bulletml/parser.py
b/bulletml/parser.py
index 0af66943893632fedcd3f5dac68a7defc216cb75..8bea044914be3701d9edf6d99bc447a7cea23fd6 100644
(file)
--- 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):