aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/rawtransactions.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-03-19 21:36:32 +0100
committerMarcoFalke <falke.marco@gmail.com>2016-03-31 18:35:17 +0200
commitfa524d9ddbad0a03f9eb974100fb3b6001045645 (patch)
tree35e826d3fc5015df5e86989b68a1cec847c105b1 /qa/rpc-tests/rawtransactions.py
parent28ad4d9fc2be102786a8c6c32ebecb466b2a03dd (diff)
downloadbitcoin-fa524d9ddbad0a03f9eb974100fb3b6001045645.tar.xz
[qa] Use python2/3 syntax
Diffstat (limited to 'qa/rpc-tests/rawtransactions.py')
-rwxr-xr-xqa/rpc-tests/rawtransactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/rawtransactions.py b/qa/rpc-tests/rawtransactions.py
index dd9e5e28a5..9f660c8bda 100755
--- a/qa/rpc-tests/rawtransactions.py
+++ b/qa/rpc-tests/rawtransactions.py
@@ -59,7 +59,7 @@ class RawTransactionsTest(BitcoinTestFramework):
errorString = ""
try:
rawtx = self.nodes[2].sendrawtransaction(rawtx['hex'])
- except JSONRPCException,e:
+ except JSONRPCException as e:
errorString = e.error['message']
assert("Missing inputs" in errorString)