diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-01-12 17:39:50 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-01-13 18:55:03 +0100 |
commit | ac4a0953060e34ddd8f4bd7aa28c719d8ed2c068 (patch) | |
tree | 33e09113685baac158deb2065f552d8b21241289 /qa/rpc-tests/forknotify.py | |
parent | 5754e0341b7c033d4caf99534aca47e9981bd7ed (diff) | |
download | bitcoin-ac4a0953060e34ddd8f4bd7aa28c719d8ed2c068.tar.xz |
Remove unused Python variables
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 + "\""])) |