Blob Blame History Raw
diff -rupN cdbs-0.4.131/scripts/waf-unpack cdbs-0.4.131-new/scripts/waf-unpack
--- cdbs-0.4.131/scripts/waf-unpack	2016-05-11 14:01:51.000000000 +0200
+++ cdbs-0.4.131-new/scripts/waf-unpack	2016-05-12 10:08:52.300229531 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # -*- mode: python; coding: utf-8 -*-
 #
 # Most of this code was stolen from Waf which is:
@@ -18,6 +18,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+from __future__ import print_function
+
 usage = '''
 
   python waf-unpack --waf=WAF_FILE --dest=DEST_FOLDER
@@ -114,11 +116,11 @@ if __name__ == '__main__':
 	(options, args) = parser.parse_args()
 
 	if not options.waf and not options.dest:
-		print '--waf and --dest options are mandatory'
+		print('--waf and --dest options are mandatory')
 		parser.print_help()
 		sys.exit(1) 
 
-	print 'Unpacking ' + options.waf + ' to ' + options.dest + ' ...'
+	print('Unpacking ' + options.waf + ' to ' + options.dest + ' ...')
 	unpack_waf(options.waf, options.dest)
-	print 'Done'
+	print('Done')