Fix build error with scons-4.4.0 version which is based on python3
[platform/upstream/iotivity.git] / extlibs / hippomocks.scons
index 5832177..412c6f2 100644 (file)
@@ -33,7 +33,7 @@ src_dir = env.get('SRC_DIR')
 
 # Only verify/install on linux
 if target_os in ['linux']:
-       print '*** Checking for installation of hippomocks ***'
+       print('*** Checking for installation of hippomocks ***')
 
        hippomocks_sha      = '8e210c5808d490b26fff69151c801fa28d291fcb'
        hippomocks_dir_src  = src_dir + '/extlibs/hippomocks-' + hippomocks_sha
@@ -49,9 +49,9 @@ if target_os in ['linux']:
                        hippomocks_zip = hippomocks_zip_file
 
                # Unzip hippomocks
-               print 'Unzipping hippomocks'
+               print('Unzipping hippomocks')
                env.UnpackAll(hippomocks_dir_src, hippomocks_zip)
-               print 'Renaming hippomocks directory'
+               print('Renaming hippomocks directory')
                os.rename(hippomocks_dir_src, hippomocks_dir_dest)