aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/reindex.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-08-31 14:53:02 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-08-31 15:42:06 +0200
commit15502d7b2543cb43688abde7e6019b7c2b9c3411 (patch)
tree837d3b592f59cedd7f5f40e77935a0891423239e /qa/rpc-tests/reindex.py
parent1233cb42dde9504c4ca3586f872af4f6f0e8e0ed (diff)
parent28265655da658bf8351f038f7c51a48d8c80f7c0 (diff)
downloadbitcoin-15502d7b2543cb43688abde7e6019b7c2b9c3411.tar.xz
Merge #8187: [0.12.2] backport: [qa] Switch to py3
2826565 [qa] Switch to py3 (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests/reindex.py')
-rwxr-xr-xqa/rpc-tests/reindex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/rpc-tests/reindex.py b/qa/rpc-tests/reindex.py
index 321c2fe422..39564b32ba 100755
--- a/qa/rpc-tests/reindex.py
+++ b/qa/rpc-tests/reindex.py
@@ -1,5 +1,5 @@
-#!/usr/bin/env python2
-# Copyright (c) 2014-2015 The Bitcoin Core developers
+#!/usr/bin/env python3
+# Copyright (c) 2014-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -26,7 +26,7 @@ class ReindexTest(BitcoinTestFramework):
wait_bitcoinds()
self.nodes[0]=start_node(0, self.options.tmpdir, ["-debug", "-reindex", "-checkblockindex=1"])
assert_equal(self.nodes[0].getblockcount(), 3)
- print "Success"
+ print("Success")
if __name__ == '__main__':
ReindexTest().main()