summaryrefslogtreecommitdiffstats
path: root/admin/generic.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-10-20 09:37:41 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-10-20 09:37:41 +0200
commitef18cc16faccdac7bee9a7e2c2cbaf4a0eaf30f1 (patch)
treeb148dce1d311dc51f8a3b7ef6387fb829fc0f152 /admin/generic.py
parentfc8ec3fd3e42e60bf0607176f8c8abe4ff35c0ed (diff)
downloadkstreamripper-ef18cc16faccdac7bee9a7e2c2cbaf4a0eaf30f1.tar.gz
kstreamripper-ef18cc16faccdac7bee9a7e2c2cbaf4a0eaf30f1.zip
Fix FTBFS with SCons 3.x
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'admin/generic.py')
-rw-r--r--admin/generic.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/generic.py b/admin/generic.py
index dbefaf5..b5c8dd5 100644
--- a/admin/generic.py
+++ b/admin/generic.py
@@ -53,7 +53,7 @@ ie: """+BOLD+"""scons configure debug=full prefix=/usr/local extraincludes=/tmp/
env['DESTDIR']=''
if 'install' in env['TARGS'] and os.environ.has_key('DESTDIR'):
env['DESTDIR']=os.environ['DESTDIR']+'/'
- print CYAN+'** Enabling DESTDIR for the project ** ' + NORMAL + env['DESTDIR']
+ print(CYAN+'** Enabling DESTDIR for the project ** ' + NORMAL + env['DESTDIR'])
# load the options
from SCons.Options import Options, PathOption
@@ -92,7 +92,7 @@ ie: """+BOLD+"""scons configure debug=full prefix=/usr/local extraincludes=/tmp/
if env['ARGS'].get('debug', None):
debuglevel = env['ARGS'].get('debug', None)
- print CYAN+'** Enabling debug for the project **' + NORMAL
+ print(CYAN+'** Enabling debug for the project **' + NORMAL)
if (debuglevel == "full"):
env['KDECXXFLAGS'] = ['-DDEBUG', '-g3']
else:
@@ -128,14 +128,14 @@ ie: """+BOLD+"""scons configure debug=full prefix=/usr/local extraincludes=/tmp/
# User-specified prefix
if env['ARGS'].get('prefix', None):
env['PREFIX'] = env['ARGS'].get('prefix', None)
- print CYAN+'** set the installation prefix for the project : ' + env['PREFIX'] +' **'+ NORMAL
+ print(CYAN+'** set the installation prefix for the project : ' + env['PREFIX'] +' **'+ NORMAL)
elif env.has_key('PREFIX'):
env.__delitem__('PREFIX')
# User-specified include paths
env['EXTRAINCLUDES'] = env['ARGS'].get('extraincludes', None)
if env['ARGS'].get('extraincludes', None):
- print CYAN+'** set extra include paths for the project : ' + env['EXTRAINCLUDES'] +' **'+ NORMAL
+ print(CYAN+'** set extra include paths for the project : ' + env['EXTRAINCLUDES'] +' **'+ NORMAL)
elif env.has_key('EXTRAINCLUDES'):
env.__delitem__('EXTRAINCLUDES')