diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-03-19 21:36:32 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-03-31 18:35:17 +0200 |
commit | fa524d9ddbad0a03f9eb974100fb3b6001045645 (patch) | |
tree | 35e826d3fc5015df5e86989b68a1cec847c105b1 /qa/rpc-tests/importprunedfunds.py | |
parent | 28ad4d9fc2be102786a8c6c32ebecb466b2a03dd (diff) |
[qa] Use python2/3 syntax
Diffstat (limited to 'qa/rpc-tests/importprunedfunds.py')
-rwxr-xr-x | qa/rpc-tests/importprunedfunds.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/importprunedfunds.py b/qa/rpc-tests/importprunedfunds.py index 5cbdcde9aa..db875800d4 100755 --- a/qa/rpc-tests/importprunedfunds.py +++ b/qa/rpc-tests/importprunedfunds.py @@ -82,7 +82,7 @@ class ImportPrunedFundsTest(BitcoinTestFramework): #Import with no affiliated address try: result1 = self.nodes[1].importprunedfunds(rawtxn1, proof1, "") - except JSONRPCException,e: + except JSONRPCException as e: errorString = e.error['message'] assert('No addresses' in errorString) @@ -119,7 +119,7 @@ class ImportPrunedFundsTest(BitcoinTestFramework): try: self.nodes[1].removeprunedfunds(txnid1) - except JSONRPCException,e: + except JSONRPCException as e: errorString = e.error['message'] assert('does not exist' in errorString) |