Revision 4267cb32
ID | 4267cb322c23754570d9275d0e5f18dee1a627bc |
snf_django: Fix alignment in pprint_table command
Alignment was broken from new code that decoded table fields using
user's encoding, since len() function will count length of bytes and not
characters. This commit fixes by making pprint_table work only with
unicode objects. The patched 'sys.stdout' of snf-manage command will
then encode the table correctly.
Files
- added
- modified
- copied
- renamed
- deleted