/usr/share/pyshared/asrun/utils.py is in code-aster-run 1.13.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | """1.8.0 > 1.8.1 backward compatibility"""
#pylint: disable-msg=W0611
from warnings import warn
warn('moved to asrun.common.utils', DeprecationWarning, stacklevel=2)
from asrun.common.utils import (
get_encoding,
listsurcharge,
less_than_version,
version2tuple,
tuple2version,
get_list,
getpara,
get_absolute_path,
get_absolute_dirname,
default_install_value,
sha1,
find_command,
search_enclosed,
re_search,
)
from asrun.backward_compatibility import (
read_rcfile,
parse_config,
get_timeout,
add_param
)
|