diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2019-10-22 22:10:09 -0700 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2019-10-22 22:10:09 -0700 |
commit | e10ab1259c12298d8607b0f855b767cebd879224 (patch) | |
tree | 4675dece773edddbc6060540ca17d8d03533cb6c | |
parent | 67a8f8dfc945e69e703918a3a4879440da6944a6 (diff) |
Improve the debug message and remove debug statement.fix-non-multiline
-rw-r--r-- | pgcli/key_bindings.py | 2 | ||||
-rw-r--r-- | pgcli/pgbuffer.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/pgcli/key_bindings.py b/pgcli/key_bindings.py index fd8e6b50..b9f869dc 100644 --- a/pgcli/key_bindings.py +++ b/pgcli/key_bindings.py @@ -92,7 +92,7 @@ def pgcli_bindings(pgcli): (accept current selection). """ - _logger.debug("Detected enter key.") + _logger.debug("Detected enter key during completion selection.") event.current_buffer.complete_state = None event.app.current_buffer.complete_state = None diff --git a/pgcli/pgbuffer.py b/pgcli/pgbuffer.py index f8e93798..8e842c97 100644 --- a/pgcli/pgbuffer.py +++ b/pgcli/pgbuffer.py @@ -26,7 +26,6 @@ mode, which by default will insert new lines on Enter. def buffer_should_be_handled(pgcli): @Condition def cond(): - # import wdb; wdb.set_trace() if not pgcli.multi_line: _logger.debug("Not in multi-line mode. Handle the buffer.") return True |