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 27 28 29 30 31 32 33 34 35 36 37 38
|
Description: Use python3 print()
Author: Phil Wyett <philip.wyett@kathenas.org>
Last-Update: 2019-12-29
Bug-Debian: https://bugs.debian.org/947588
--- zfs-fuse-0.7.0.orig/src/SConstruct
+++ zfs-fuse-0.7.0/src/SConstruct
@@ -56,8 +56,8 @@ else:
if not (('-DDEBUG' in env['CCFLAGS']) or
('-DNDEBUG' in env['CCFLAGS'])):
- print
- print "Misconfigured debug level: Neither DEBUG or NDEBUG appears to have been defined: %s" % env['CCFLAGS']
+ print ()
+ print ("Misconfigured debug level: Neither DEBUG or NDEBUG appears to have been defined: %s") % env['CCFLAGS']
sys.exit(1)
env['CPPPATH'] = []
@@ -81,8 +81,8 @@ def getarch(arch):
myarch = getarch(arch)
if not myarch:
- print
- print 'Sorry, only the x86, amd64 and sparc64 hardware architectures are supported'
+ print ()
+ print ('Sorry, only the x86, amd64 and sparc64 hardware architectures are supported')
sys.exit(1)
if myarch == 'sparc64':
@@ -129,7 +129,7 @@ env.Install(man_dir, '../doc/zstreamdump
env.Install(man_dir, '../doc/zfs-fuse.8')
if "tags" in sys.argv:
- print "updating tags..."
+ print ("updating tags...")
os.system("ctags --extra=+f `find -name '*.c'` `find -name '*.h'`")
env.Alias('install', [install_dir, man_dir, cfg_dir])
|