Changeset 422

Show
Ignore:
Timestamp:
05/11/07 01:07:53 (2 years ago)
Author:
athomas
Message:

cly: Convert all table cells to strings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cly/trunk/cly/console.py

    r420 r422  
    378378    if header: 
    379379        table.insert(0, header) 
     380 
     381    # Stringify entire table 
     382    table = [[str(c) for c in r] for r in table] 
     383 
    380384    rows, cols = len(table), len(table[0]) 
    381385    colwidths = [0] * cols