Browse Source

Remove accidental trailing semicolons in Python code

0.15
practicalswift 8 years ago
parent
commit
bd02422332
  1. 2
      contrib/zmq/zmq_sub3.4.py
  2. 2
      test/functional/importmulti.py

2
contrib/zmq/zmq_sub3.4.py

@ -57,7 +57,7 @@ class ZMQHandler():
msg = yield from self.zmqSubSocket.recv_multipart() msg = yield from self.zmqSubSocket.recv_multipart()
topic = msg[0] topic = msg[0]
body = msg[1] body = msg[1]
sequence = "Unknown"; sequence = "Unknown"
if len(msg[-1]) == 4: if len(msg[-1]) == 4:
msgSequence = struct.unpack('<I', msg[-1])[-1] msgSequence = struct.unpack('<I', msg[-1])[-1]
sequence = str(msgSequence) sequence = str(msgSequence)

2
test/functional/importmulti.py

@ -434,7 +434,7 @@ class ImportMultiTest (BitcoinTestFramework):
address_assert = self.nodes[1].validateaddress(watchonly_address) address_assert = self.nodes[1].validateaddress(watchonly_address)
assert_equal(address_assert['iswatchonly'], True) assert_equal(address_assert['iswatchonly'], True)
assert_equal(address_assert['ismine'], False) assert_equal(address_assert['ismine'], False)
assert_equal(address_assert['timestamp'], watchonly_timestamp); assert_equal(address_assert['timestamp'], watchonly_timestamp)
# Bad or missing timestamps # Bad or missing timestamps
self.log.info("Should throw on invalid or missing timestamp values") self.log.info("Should throw on invalid or missing timestamp values")

Loading…
Cancel
Save