| Home | Trees | Indices | Help |
|
|---|
|
|
|
|||
| GeneralError | ||
| DictCompare | ||
|
|||
|
get_admin_log_config_filename() Returns the human-readable filename used for log configuration, as stored with set_log_config_filename(). |
||
|
set_admin_log_config_filename(str) Stores the filename of the human-readable configuration file which the system administrator used to set up the log configuration. |
||
|
get_readable_log_config_filename() Returns the filename that the program actually used to read the log configuration, as stored with set_readable_log_config_filename(). |
||
|
set_readable_log_config_filename(str) Stores the filename that the program actually used to read the log configuration. |
||
| set_home_dir_for_unit_tests(homedir) | ||
| get_home_dir() | ||
|
get_group_membership() Returns a list of non-primary, non-system groups that the user belongs to. |
||
| get_user_name() | ||
| print_exception() | ||
|
init_gettext() Binds _() to gettext.gettext() in the global namespace. |
||
|
random_string(len) Returns a string with random binary data of the specified length |
||
|
split_path(path,
head=None,
tail=None) Given a path split it into a head and tail. |
||
| run_unit_tests() | ||
| dump_change_set(cs) | ||
| should_ignore_dir(base_dir, ignore_dir_list, dir) | ||
| should_ignore_file(base_dir, ignore_dir_list, ignore_file_list, file) | ||
|
|||
|
EXIT_CODE_NORMAL = 0
|
||
|
EXIT_CODE_FATAL = 1
|
||
|
EXIT_CODE_RECOVERABLE = 2
|
||
|
EXIT_CODE_NO_USER_PROFILE = 3
|
||
|
_util_admin_log_config_filename = <sabayon.cache.cacheRepository instance at 0x11ce170>
|
||
|
_util_readable_log_config_filename = <sabayon.cache.cacheRepository instance at 0x11ce170>
|
||
|
unit_tests_homedir = <sabayon.cache.cacheRepository instance at 0x11ce170>
|
||
|
__package__ = 'sabayon'
|
||
|
|||
|
|
|
|
|
|
|
|
|
|
|
Given a path split it into a head and tail. If head is passed then it is assumed to comprise the first part of the full path. If tail is passed it is assumed to comprise the second part of the full path. The path, head, and tail are made canonical via os.path.normpath prior to the operations. ValueErrors are raised if head is not present at the start of the path or if the path does not end with tail. The split must occur on a directory separator boundary. The return value is the tuple (head, tail) in canonical form. |
|
|
|
|
|
|||
EXIT_CODE_NORMALNone
|
EXIT_CODE_FATALNone
|
EXIT_CODE_RECOVERABLENone
|
EXIT_CODE_NO_USER_PROFILENone
|
_util_admin_log_config_filenameNone
|
_util_readable_log_config_filenameNone
|
unit_tests_homedirNone
|
__package__None
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Sun Jun 16 00:00:28 2013 | http://epydoc.sourceforge.net |