Skip to content

Commit db37933

Browse files
committed
Fix structure unpacking in connection
1 parent 7f1a4c5 commit db37933

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

neo4j/v1/connection.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,7 @@ def fetch_next(self):
262262
# Unpack from the raw byte stream and call the relevant message handler(s)
263263
raw.seek(0)
264264
response = self.responses[0]
265-
for message in unpack():
266-
signature = message.signature
267-
fields = tuple(message)
265+
for signature, fields in unpack():
268266
if __debug__:
269267
log_info("S: %s %s", message_names[signature], " ".join(map(repr, fields)))
270268
handler_name = "on_%s" % message_names[signature].lower()

0 commit comments

Comments
 (0)