[reportlab-users] Tablestyle.add() tuple unpack problem

Derek Basch reportlab-users@reportlab.com
Mon, 23 Sep 2002 12:01:49 -0700 (PDT)

Hello all,
I have run into a small problem. I am using this code:


to test some Platypus table functions. I am trying to
use the TableStyle classes 'add' function to add some
additional styles after the the class instance is
declared, (line 147).

According to the User Guide I have passed the proper
structure to the add function:

LIST_STYLE.add([('BACKGROUND', (0,0), (-1,0),

Also, I can create a TableStyle instance using the
interactive interpretor and the 'add' and
'getCommands' functions work just fine. Can anyone
tell me what im doing wrong??
...oh yeah, heres the traceback:


Thanks everyone,
Derek Basch

Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!