diff options
author | laixintao <laixintaoo@gmail.com> | 2020-09-14 11:55:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 11:55:44 +0800 |
commit | 7626d9a5f27a221d87f31dcb5bb8fc12024f6c58 (patch) | |
tree | cbcf8363bf3e8e57905d30f7b0426af77c958023 /pgcli/packages/parseutils/utils.py | |
parent | 59ae65cbbf698d1608e7fd3d55b507f3599ac117 (diff) | |
parent | 13bd678ccd14e025406ed72490ab52f840ecffa2 (diff) |
Merge pull request #1211 from dbcli/bugfix/behave
fix behave test, keep support for prompt-toolkit 2.x; lock prompt-toolkit==3.0.5 for test.
Diffstat (limited to 'pgcli/packages/parseutils/utils.py')
-rw-r--r-- | pgcli/packages/parseutils/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcli/packages/parseutils/utils.py b/pgcli/packages/parseutils/utils.py index 594cabfd..034c96e9 100644 --- a/pgcli/packages/parseutils/utils.py +++ b/pgcli/packages/parseutils/utils.py @@ -64,7 +64,7 @@ def last_word(text, include="alphanum_underscore"): def find_prev_keyword(sql, n_skip=0): - """ Find the last sql keyword in an SQL statement + """Find the last sql keyword in an SQL statement Returns the value of the last keyword, and the text of the query with everything after the last keyword stripped |