summaryrefslogtreecommitdiffstats
path: root/pgcli
diff options
context:
space:
mode:
authorMatthieu Guilbert <guil.matthieu@gmail.com>2018-06-07 00:43:48 +0800
committerMatthieu Guilbert <guil.matthieu@gmail.com>2018-06-07 00:43:48 +0800
commit1a2421892b9ab31437c8bad090ea565a5e7ee9b8 (patch)
tree2145e7572b28f2592ed3d3c7625c10faf8e70761 /pgcli
parent4505332fe53ebea0197e30efe66418f0fc92adbe (diff)
fix: not enough values to unpack
Diffstat (limited to 'pgcli')
-rw-r--r--pgcli/pgexecute.py2
1 files changed, 1 insertions, 1 deletions
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):