diff options
author | Irina Truong <i.chernyavska@gmail.com> | 2018-06-06 12:21:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 12:21:07 -0700 |
commit | 9d2f11164c6c3a30c882cc418c69b114cdef6f8a (patch) | |
tree | 159f29057e88c3e1667bdf48c66adbc298f788e3 | |
parent | 4505332fe53ebea0197e30efe66418f0fc92adbe (diff) | |
parent | 99338e3e27b3466d72b66d52d82007a00169eb15 (diff) |
Merge pull request #895 from gma2th/hotfix/not-enough-values-to-unpack
Hotfix/not enough values to unpack
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | changelog.rst | 2 | ||||
-rw-r--r-- | pgcli/pgexecute.py | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -79,6 +79,7 @@ Contributors: * Catherine Devlin * Jason Ribeiro * Rishi Ramraj + * Matthieu Guilbert Creator: diff --git a/changelog.rst b/changelog.rst index 951af754..4fe768cf 100644 --- a/changelog.rst +++ b/changelog.rst @@ -21,6 +21,7 @@ Bug Fixes: * Don't offer to reconnect when we can't change a param in realtime (#807). (Thanks: `Amjith Ramanujam`_) * Make keyring optional. (Thanks: `Dick Marinus`_) * Fix ipython magic connection (#891). (Thanks: `Irina Truong`_) +* Fix not enough values to unpack. (Thanks: `Matthieu Guilbert`_) 1.9.1: ====== @@ -831,3 +832,4 @@ Improvements: .. _`Frederic Aoustin`: https://github.com/fraoustin .. _`Jason Ribeiro`: https://github.com/jrib .. _`Rishi Ramraj`: https://github.com/RishiRamraj +.. _`Matthieu Guilbert`: https://github.com/gma2th diff --git a/pgcli/pgexecute.py b/pgcli/pgexecute.py index 0d6195e0..149efc51 100644 --- a/pgcli/pgexecute.py +++ b/pgcli/pgexecute.py @@ -292,7 +292,7 @@ class PGExecute(object): # Remove spaces and EOL statement = statement.strip() if not statement: # Empty string - yield (None, None, None, None, statement, False) + yield (None, None, None, None, statement, False, False) # Split the sql into separate queries and run each one. for sql in sqlparse.split(statement): |