Fix build error with scons-4.4.0 version which is based on python3
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / SConscript
index 12e39e9..ad24c47 100644 (file)
@@ -21,7 +21,7 @@ ca_path = os.curdir
 # Source files and Target(s)
 ######################################################################
 
-print"Reading ca script %s"%ca_transport
+print("Reading ca script %s"%ca_transport)
 
 env.PrependUnique(CPPPATH = [ os.path.join(root_dir, 'api') ])
 
@@ -110,7 +110,7 @@ if env.get('WITH_PROXY'):
 if ca_os == 'arduino':
        env.AppendUnique(CPPDEFINES = ['SINGLE_THREAD'])
        env.AppendUnique(CPPDEFINES = ['WITH_ARDUINO'])
-       print "setting WITH_ARDUINO"
+       print("setting WITH_ARDUINO")
        ca_common_src = [
                'caconnectivitymanager.c',
                'cainterfacecontroller.c',
@@ -192,8 +192,8 @@ if ca_os in ['linux', 'tizen', 'android', 'arduino', 'ios']:
        if (('BLE' in ca_transport) or ('BT' in ca_transport) or ('ALL' in ca_transport)):
                env.AppendUnique(CPPDEFINES = ['WITH_TCP'])
 
-print "Include path is %s" % env.get('CPPPATH')
-print "Files path is %s" % env.get('CA_SRC')
+print("Include path is %s" % env.get('CPPPATH'))
+print("Files path is %s" % env.get('CA_SRC'))
 
 lib_env = env.Clone()
 lib_env.AppendUnique(LIBPATH = [env.get('BUILD_DIR')])