[reportlab-users] Span bug
Tomasz Świderski
contact at tomaszswiderski.com
Wed Feb 17 17:04:09 EST 2010
While trying to rewrite platypus Table class I discovered span error.
Just run test script to see it.
It is bug in spanFixDim function. Instead of:
M[x] = max(M.get(x,v),v)
should be:
M[x] = M.get(x,0) + v
This minor change will fix this bug. It is not perfect since table will
be wider/higher that it should be but it is better that current
implementation.
Tomasz Świderski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: span_bug.py
Type: text/x-python
Size: 2426 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20100217/039a3981/attachment.py>
More information about the reportlab-users
mailing list