env_py - a path to the <ext>_env.py file.
top_repository - a root directory for all the paths listed inside salomexb file.
- Raises:
- Raises OSError exception.
-
Returns:
None.
"""
continue
else:
- logger.error('Unexpected path %s '
+ logger.warning('Unexpected path %s '
'is not a file, link or directory. Skip.',
path_to_file)
ext_size_str(arg_1, arg_2)
else:
logger.error('You must provide all the arguments!')
- logger.info(dir_size.__doc__)
+ logger.info(dir_size_str.__doc__)
+ logger.info(dependency_tree.__doc__)
+ logger.info(ext_size_str.__doc__)
shutil.rmtree(path_to_remove)
else:
- logger.error('Unexpected path %s!'
+ logger.warning('Unexpected path %s!'
'It is not a file or directory. Skip.',
path_to_remove)
if env_py:
os.remove(env_py)
else:
- logger.error('Cannot find and remove %s file! ', env_py)
+ logger.warning('Cannot find and remove %s file! ', env_py)
# Remove description file
if salomexd:
salome_root - path to SALOME install root directory.
salomex - a given salomex file to unpack.
- Raises:
- OSError exception.
- KeyError exception if a file can not be found in the archive.
-
Returns:
None.
"""