[qa] Use python2/3 syntax

This commit is contained in:
MarcoFalke
2016-03-19 21:36:32 +01:00
parent 28ad4d9fc2
commit fa524d9ddb
21 changed files with 78 additions and 75 deletions

View File

@@ -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)