Fix build error with scons-4.4.0 version which is based on python3
[platform/upstream/iotivity.git] / service / easy-setup / mediator / richsdk / SConscript
index 585b1ff..9ead2e3 100755 (executable)
@@ -43,8 +43,8 @@ if env.get('LOGGING'):
 ##### The following lines must be uncommented, if target Enrollee is not Arduino
 target_enrollee = env.get('ES_TARGET_ENROLLEE')
 if target_enrollee == 'arduino':
-       print "REMOTE_ARDUINO_ENROLEE flag is defined."
-       print "The Mediator application will be working only with Arduino Enrollee."
+       print("REMOTE_ARDUINO_ENROLEE flag is defined.")
+       print("The Mediator application will be working only with Arduino Enrollee.")
        env.AppendUnique(CPPDEFINES = ['REMOTE_ARDUINO_ENROLEE'])
 
 # Add third party libraries
@@ -123,7 +123,7 @@ if not env.get('RELEASE') and target_os not in ['ios']:
 # Source files and Targets
 ######################################################################
 
-print"easysetup_path %s" % easysetup_path
+print("easysetup_path %s" % easysetup_path)
 
 es_src = None
 
@@ -150,7 +150,7 @@ filenames = [ 'ESException.h', 'ESRichCommon.h', 'EasySetup.hpp', 'RemoteEnrolle
 for filename in filenames:
        easy_setup_env.UserInstallTargetHeader('inc/' + filename, "service/easy-setup", filename)
 
-print "Files path is %s" % env.get('es_src')
+print("Files path is %s" % env.get('es_src'))
 
 ######################################################################
 # Generate RichSDK Mediator AAR