You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contrib/devtools/check-doc.py
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#!/usr/bin/env python
1
+
#!/usr/bin/env python3
2
2
# Copyright (c) 2015-2017 The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Copyright (c) 2014-2017 The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
printfileDict['file']+"\n size diff from: "+str(fileDict['osize'])+" to: "+str(fileDict['psize'])+"\n old sha256: "+oldHash+"\n new sha256: "+newHash+"\n"
74
+
print(fileDict['file']+"\n size diff from: "+str(fileDict['osize'])+" to: "+str(fileDict['psize'])+"\n old sha256: "+oldHash+"\n new sha256: "+newHash+"\n")
77
75
78
-
print"completed. Checksum stable: "+str(noHashChange)+". Total reduction: "+str(totalSaveBytes)+" bytes"
76
+
print("completed. Checksum stable: "+str(noHashChange)+". Total reduction: "+str(totalSaveBytes)+" bytes")
Copy file name to clipboardExpand all lines: contrib/devtools/security-check.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#!/usr/bin/env python
1
+
#!/usr/bin/env python3
2
2
# Copyright (c) 2015-2017 The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -8,7 +8,6 @@
8
8
Otherwise the exit status will be 1 and it will log which executables failed which checks.
9
9
Needs `readelf` (for ELF) and `objdump` (for PE).
10
10
'''
11
-
from __future__ importdivision,print_function,unicode_literals
Copy file name to clipboardExpand all lines: contrib/devtools/symbol-check.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#!/usr/bin/env python
1
+
#!/usr/bin/env python3
2
2
# Copyright (c) 2014 Wladimir J. van der Laan
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -11,7 +11,6 @@
11
11
12
12
find ../gitian-builder/build -type f -executable | xargs python contrib/devtools/symbol-check.py
13
13
'''
14
-
from __future__ importdivision, print_function, unicode_literals
Copy file name to clipboardExpand all lines: contrib/devtools/update-translations.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#!/usr/bin/env python
1
+
#!/usr/bin/env python3
2
2
# Copyright (c) 2014 Wladimir J. van der Laan
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -15,7 +15,6 @@
15
15
TODO:
16
16
- auto-add new translations to the build system according to the translation process
Copy file name to clipboardExpand all lines: contrib/macdeploy/custom_dsstore.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
-
#!/usr/bin/env python
1
+
#!/usr/bin/env python3
2
2
# Copyright (c) 2013-2016 The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
-
from __future__ importdivision,print_function,unicode_literals
Copy file name to clipboardExpand all lines: contrib/testgen/gen_base58_test_vectors.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#!/usr/bin/env python
1
+
#!/usr/bin/env python2
2
2
# Copyright (c) 2012-2017 The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
0 commit comments