f8fde67
diff -rupN --no-dereference cdbs-0.4.162/scripts/waf-unpack cdbs-0.4.162-new/scripts/waf-unpack
f8fde67
--- cdbs-0.4.162/scripts/waf-unpack	2016-06-10 12:36:01.000000000 +0200
f8fde67
+++ cdbs-0.4.162-new/scripts/waf-unpack	2020-04-26 00:03:53.332827113 +0200
0786e63
@@ -1,4 +1,4 @@
0786e63
-#!/usr/bin/python
0786e63
+#!/usr/bin/python3
0786e63
 # -*- mode: python; coding: utf-8 -*-
0786e63
 #
0786e63
 # Most of this code was stolen from Waf which is:
93bb5a9
@@ -19,6 +19,8 @@
0786e63
 # You should have received a copy of the GNU General Public License
0786e63
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
fddffbe
 
0786e63
+from __future__ import print_function
0786e63
+
0786e63
 usage = '''
0786e63
 
0786e63
   python waf-unpack --waf=WAF_FILE --dest=DEST_FOLDER
93bb5a9
@@ -115,11 +117,11 @@ if __name__ == '__main__':
0786e63
 	(options, args) = parser.parse_args()
0786e63
 
0786e63
 	if not options.waf and not options.dest:
0786e63
-		print '--waf and --dest options are mandatory'
0786e63
+		print('--waf and --dest options are mandatory')
0786e63
 		parser.print_help()
0786e63
 		sys.exit(1) 
0786e63
 
0786e63
-	print 'Unpacking ' + options.waf + ' to ' + options.dest + ' ...'
0786e63
+	print('Unpacking ' + options.waf + ' to ' + options.dest + ' ...')
0786e63
 	unpack_waf(options.waf, options.dest)
0786e63
-	print 'Done'
0786e63
+	print('Done')
0786e63