diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-02-05 00:48:40 -0800 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-02-05 00:48:40 -0800 |
commit | 1ec028401892dfb237e4d3c96b6696d12e6efb7c (patch) | |
tree | cb0a83d1f59533b04de93757b0a6abc2b2d9d3b4 | |
parent | 410e859b6ba425ca9f04f7a6dc67ba0124a67d89 (diff) |
Make the tests passing in Python 3.
-rwxr-xr-x | pgcli/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcli/main.py b/pgcli/main.py index 933b0adc..94bd6db6 100755 --- a/pgcli/main.py +++ b/pgcli/main.py @@ -333,7 +333,7 @@ def cli(database, user, host, port, prompt_passwd, never_prompt, dbname, def format_output(cur, headers, status, table_format): output = [] if cur: - headers = map(utf8tounicode, headers) + headers = [utf8tounicode(x) for x in headers] if is_expanded_output(): output.append(expanded_table(cur, headers)) else: |