Skip to content

Commit

Permalink
Code review: re-add string cast in mininode.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PastaPastaPasta committed Mar 8, 2019
1 parent 85ffc1d commit 609114a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/rpc-tests/test_framework/mininode.py
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@ def got_data(self):
t.deserialize(f)
self.got_message(t)
else:
logger.warning("Received unknown command from %s:%d: '%s' %s" % (self.dstaddr, self.dstport, command, repr(msg)))
logger.warning("Received unknown command from %s:%d: '%s' %s" % (self.dstaddr, self.dstport, str(command), repr(msg)))
except Exception as e:
logger.exception('got_data:', repr(e))

Expand Down

0 comments on commit 609114a

Please sign in to comment.