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/pull-tester | |
parent | 28ad4d9fc2be102786a8c6c32ebecb466b2a03dd (diff) |
[qa] Use python2/3 syntax
Diffstat (limited to 'qa/pull-tester')
-rwxr-xr-x | qa/pull-tester/rpc-tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/pull-tester/rpc-tests.py b/qa/pull-tester/rpc-tests.py index d794dbe806..6d3bda10ee 100755 --- a/qa/pull-tester/rpc-tests.py +++ b/qa/pull-tester/rpc-tests.py @@ -32,13 +32,13 @@ import re from tests_config import * #If imported values are not defined then set to zero (or disabled) -if not vars().has_key('ENABLE_WALLET'): +if 'ENABLE_WALLET' not in vars(): ENABLE_WALLET=0 -if not vars().has_key('ENABLE_BITCOIND'): +if 'ENABLE_BITCOIND' not in vars(): ENABLE_BITCOIND=0 -if not vars().has_key('ENABLE_UTILS'): +if 'ENABLE_UTILS' not in vars(): ENABLE_UTILS=0 -if not vars().has_key('ENABLE_ZMQ'): +if 'ENABLE_ZMQ' not in vars(): ENABLE_ZMQ=0 # python-zmq may not be installed. Handle this gracefully and with some helpful info |