Files
deb-python-keystoneclient/keystoneclient/utils.py
Dan Prince 11258a06c2 Don't call PrettyTable add_row with a tuple.
Updates the print_dict function in utils.py so that it doesn't
try to append a tuple with add_row. According to pydoc add_row
should get passed a list (not a tuple):

  Arguments:

    row - row of data, should be a list with as many elements as
    the table has fields

This fixes a TypeError which can occur with the existing code:

TypeError: can only concatenate list (not "tuple") to list

Fixes LP Bug #1019409.

Change-Id: I16f745afa872106c3bc44c33d88db2a5aacd776c
2012-06-29 16:32:32 -04:00

2.7 KiB