diff options
| author | MarcoFalke <[email protected]> | 2016-03-19 21:36:32 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-03-31 18:35:17 +0200 |
| commit | fa524d9ddbad0a03f9eb974100fb3b6001045645 (patch) | |
| tree | 35e826d3fc5015df5e86989b68a1cec847c105b1 /qa/rpc-tests/importprunedfunds.py | |
| parent | Merge #7477: Fix quoting of copyright holders in configure.ac. (diff) | |
| download | discoin-fa524d9ddbad0a03f9eb974100fb3b6001045645.tar.xz discoin-fa524d9ddbad0a03f9eb974100fb3b6001045645.zip | |
[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 5cbdcde9a..db875800d 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) |