From a79be0513bfb845e13ae50171967742af20c0e2f Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 28 Feb 2019 12:00:44 -0500 Subject: [PATCH] pylint --- torba/client/basetransaction.py | 4 ++-- torba/orchstr8/node.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/torba/client/basetransaction.py b/torba/client/basetransaction.py index a022bfa2b..ff4582250 100644 --- a/torba/client/basetransaction.py +++ b/torba/client/basetransaction.py @@ -350,7 +350,7 @@ class BaseTransaction: "Cannot access net_account_balance if inputs/outputs do not " "have is_my_account set properly." ) - elif txi.is_my_account: + if txi.is_my_account: balance -= txi.amount for txo in self.outputs: if txo.is_my_account is None: @@ -358,7 +358,7 @@ class BaseTransaction: "Cannot access net_account_balance if inputs/outputs do not " "have is_my_account set properly." ) - elif txo.is_my_account: + if txo.is_my_account: balance += txo.amount return balance diff --git a/torba/orchstr8/node.py b/torba/orchstr8/node.py index e9113de8c..769504690 100644 --- a/torba/orchstr8/node.py +++ b/torba/orchstr8/node.py @@ -243,7 +243,7 @@ class BlockchainProcess(asyncio.SubprocessProtocol): if b'Error:' in data: self.ready.set() raise SystemError(data.decode()) - elif b'Done loading' in data: + if b'Done loading' in data: self.ready.set() def process_exited(self):