Fix build error with scons-4.4.0 version which is based on python3
[platform/upstream/iotivity.git] / resource / c_common / SConscript
index 2228cfe..b64e836 100755 (executable)
@@ -127,7 +127,7 @@ config_h_file.close()
 
 # Sanity check to ensure that the above block created the file.
 if not os.path.exists(config_h_file_path):
-       print "Error: iotivity_config.h file not created!"
+       print("Error: iotivity_config.h file not created!")
 
 # iotivity_config.h should be copied to the build dir
 env.UserInstallTargetHeader(config_h_file_path, 'c_common', 'iotivity_config.h')