Fix build error with scons-4.4.0 version which is based on python3
[platform/upstream/iotivity.git] / resource / csdk / connectivity / build / tizen / SConscript
index 57a4e90..14b830e 100644 (file)
@@ -14,11 +14,11 @@ secured = env.get('SECURED')
 logging = env.get('LOGGING')
 with_tcp = env.get('WITH_TCP')
 
-print "Given Transport is %s" % transport
-print "Given OS is %s" % target_os
+print("Given Transport is %s" % transport)
+print("Given OS is %s" % target_os)
 
 if target_os == 'tizen':
        command = "sh resource/csdk/connectivity/build/tizen/gbsbuild.sh %s %s %s %s %s %s" % (transport, secured, buildsample, release_mode, logging, with_tcp)
-       print "Created Command is %s" % command
+       print("Created Command is %s" % command)
        gbs_script = env.Command('gbs_build', None, command)
        AlwaysBuild ('gbs_script')
\ No newline at end of file