bugfixes:

bzr revid: nch@tinyerp.com-20090512122631-fqjlde9ktiowkn7t
This commit is contained in:
Naresh Choksy
2009-05-12 17:56:31 +05:30
parent 83d52392b3
commit 5e63455392
+3 -3
View File
@@ -453,7 +453,7 @@ class _rml_flowable(object):
return rc1
def _table(self, node):
childs = list(utils._child_get(node,self,'tr'))
childs = utils._child_get(node,self,'tr')
if not childs:
return None
length = 0
@@ -474,7 +474,7 @@ class _rml_flowable(object):
paraStyle = self.styles.styles[tr.get('paraStyle')]
data2 = []
posx = 0
for td in list(utils._child_get(tr, self,'td')):
for td in utils._child_get(tr, self,'td'):
if td.get('style'):
st = copy.deepcopy(self.styles.table_styles[td.get('style')])
for s in st._cmds:
@@ -489,7 +489,7 @@ class _rml_flowable(object):
posx += 1
flow = []
for n in list(utils._child_get(td, self)):
for n in utils._child_get(td, self):
fl = self._flowable(n, extra_style=paraStyle)
if isinstance(fl,list):
flow += fl