diff options
author | 赖信涛 <laixintao@users.noreply.github.com> | 2020-03-10 11:14:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 20:14:51 -0700 |
commit | fd775497547bb51e3d3b38590cbc83e54afd9508 (patch) | |
tree | 60f155978915467b16d24454fa0f2a1c54002c85 /pgcli/main.py | |
parent | 91263c37b94a1a3b45be13d35ff1ea19c7b8e1b7 (diff) |
Deprecate Python2.7. (#1153)
* deprecate Python2.7.
So we can use latest version of prompt-toolit.
Relate: https://github.com/dbcli/pgcli/pull/1149
* black format, remove 2.7 support.
* using version py35 for black.
* Revert "black format, remove 2.7 support."
This reverts commit 4b6d0496ccc18d0ebd696b5f21d8065c4a9b0cb9.
* deprecated py27 using black.
* remove 2.7 from travis.
* update setup.py: delete python 2.7 support.
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 54d4941f..fb3b3546 100644 --- a/pgcli/main.py +++ b/pgcli/main.py @@ -363,7 +363,7 @@ class PGCli(object): user=user, host=host, port=port, - **self.pgexecute.extra_args + **self.pgexecute.extra_args, ) except OperationalError as e: click.secho(str(e), err=True, fg="red") |