File: scons-use-python3-print.patch

package info (click to toggle)
pingus 0.7.6-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 31,656 kB
  • sloc: cpp: 42,078; xml: 2,319; lisp: 521; ruby: 455; ansic: 365; objc: 248; sh: 247; makefile: 143; python: 15
file content (26 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Use python3 print()
Author: Phil Wyett <philip.wyett@kathenas.org>
Last-Update: 2019-12-29
Bug-Debian: https://bugs.debian.org/947574

Index: pingus/SConscript
===================================================================
--- pingus.orig/SConscript
+++ pingus/SConscript
@@ -126,12 +126,12 @@ class Project:
     def configure_end(self):
         self.env = self.conf.Finish()
 
-        print "Reports:"
-        print self.reports
+        print ("Reports:")
+        print (self.reports)
 
         if not self.fatal_error == "":
-            print "Fatal Errors:"
-            print self.fatal_error
+            print ("Fatal Errors:")
+            print (self.fatal_error)
             Exit(1)
 
     def configure_gxx(self):