Fix flake8 warnings

This commit is contained in:
practicalswift
2018-02-24 18:59:33 +01:00
committed by Christian Decker
parent cf3f19524e
commit d2109bfe0c
3 changed files with 14 additions and 14 deletions

View File

@@ -301,7 +301,7 @@ class LightningNode(object):
def call_connect():
try:
self.rpc.connect('127.0.0.1', remote_node.daemon.port, tx['hex'], async=False)
except:
except Exception:
pass
t = threading.Thread(target=call_connect)
t.daemon = True
@@ -384,7 +384,7 @@ class LightningNode(object):
try:
# May fail if the process already died
self.rpc.stop()
except:
except Exception:
pass
rc = self.daemon.wait(timeout)