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:
b246fe5
)
ActionDef: Append based on parsing the subelement, not the element.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Tue, 16 Mar 2010 07:30:30 +0000
(
00:30
-0700)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Tue, 16 Mar 2010 07:30:30 +0000
(
00:30
-0700)
bulletml/parser.py
patch
|
blob
|
history
diff --git
a/bulletml/parser.py
b/bulletml/parser.py
index 529876b449af43932677d2c3bf5980ce3bef446b..187fa86e7df4dc5f866abd741c4939f9b62c7579 100644
(file)
--- a/
bulletml/parser.py
+++ b/
bulletml/parser.py
@@
-205,9
+205,9
@@
class BulletDef(object):
elif tag == "speed":
self.speed = Speed(doc, subelem)
elif tag == "action":
- self.actions.append(ActionDef(doc,
element
))
+ self.actions.append(ActionDef(doc,
subelem
))
elif tag == "actionRef":
- self.actions.append(ActionRef(doc,
element
))
+ self.actions.append(ActionRef(doc,
subelem
))
def __call__(self, params, rank):
actions = []