diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-02-07 15:25:26 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-02-07 15:28:50 +0100 |
commit | b709fe7ffc44ae14bbd2403cdfbfa4fcf94cef6b (patch) | |
tree | 9f6005c08a05024d07bcbf358f9b170d3c77f857 /qa/rpc-tests/forknotify.py | |
parent | 729de15b6365face6ae9e12a03624da33a6302f0 (diff) | |
parent | 90fd29bd0dcbaf5d5c4ef9e69824297c35f0b88e (diff) | |
download | bitcoin-b709fe7ffc44ae14bbd2403cdfbfa4fcf94cef6b.tar.xz |
Merge #9532: Remove unused variables
90fd29b Remove unused int64_t nSinceLastSeen (practicalswift)
ac4a095 Remove unused Python variables (practicalswift)
Diffstat (limited to 'qa/rpc-tests/forknotify.py')
-rwxr-xr-x | qa/rpc-tests/forknotify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/forknotify.py b/qa/rpc-tests/forknotify.py index a1901aedab..8b1403083f 100755 --- a/qa/rpc-tests/forknotify.py +++ b/qa/rpc-tests/forknotify.py @@ -22,7 +22,7 @@ class ForkNotifyTest(BitcoinTestFramework): def setup_network(self): self.nodes = [] self.alert_filename = os.path.join(self.options.tmpdir, "alert.txt") - with open(self.alert_filename, 'w', encoding='utf8') as f: + with open(self.alert_filename, 'w', encoding='utf8'): pass # Just open then close to create zero-length file self.nodes.append(start_node(0, self.options.tmpdir, ["-blockversion=2", "-alertnotify=echo %s >> \"" + self.alert_filename + "\""])) |