diff options
author | Irina Truong <i.chernyavska@gmail.com> | 2022-03-01 20:15:05 -0800 |
---|---|---|
committer | Irina Truong <i.chernyavska@gmail.com> | 2022-03-01 20:15:05 -0800 |
commit | 00bed0bdad6fe98c05a954ed1ea5164b660a1dd9 (patch) | |
tree | 1a6a0c74ab502becaf95ed08be154a04194056fa /pgcli/main.py | |
parent | 2eef64c8ce3ef537323df91bce1b523a25e33395 (diff) |
Black.
Diffstat (limited to 'pgcli/main.py')
-rw-r--r-- | pgcli/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcli/main.py b/pgcli/main.py index 4b57f53c..2d7edfa0 100644 --- a/pgcli/main.py +++ b/pgcli/main.py @@ -1550,7 +1550,7 @@ def format_output(title, cur, headers, status, settings): def format_status(cur, status): # redshift does not return rowcount as part of status. # See https://github.com/dbcli/pgcli/issues/1320 - if cur and hasattr(cur, 'rowcount') and cur.rowcount is not None: + if cur and hasattr(cur, "rowcount") and cur.rowcount is not None: if status and not status.endswith(str(cur.rowcount)): status += " %s" % cur.rowcount return status |