Trees | Indices | Help |
---|
|
|
|||
GecosCache Cache getpwnam() and getgrnam() calls |
|||
payload this class implements simple file like object usable for reading payload from rpm, mpm, etc. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
FILETYPE2CHAR =
|
|||
__package__ =
|
|
take ~taw/../some/path/$MOUNT_POINT/blah and make it sensible. Path returned is absolute. NOTE: python 2.2 fixes a number of bugs with this and eliminates the need for os.path.expanduser |
take ~taw/../some/path/$MOUNT_POINT/blah and make it sensible. Returned path may be relative. NOTE: python 2.2 fixes a number of bugs with this and eliminates the need for os.path.expanduser |
backup/rotate a file depth (-1==no limit) refers to num. of backups (rotations) to keep. Behavior: (1) x.txt (current) x.txt.1 (old) x.txt.2 (older) x.txt.3 (oldest) (2) all file stats preserved. Doesn't blow away original file. (3) if x.txt and x.txt.1 are identical (size or checksum), None is returned |
popen-like function, that accepts execvp-style arguments too (i.e. an array of params, thus making shell escaping unnecessary) cmd can be either a string (like "ls -l /dev"), or an array of arguments ["ls", "-l", "/dev"] Returns the command's error code, a stream with stdout's contents and a stream with stderr's contents progressCallback --> progress bar twiddler outputLog --> optional log file file object write method |
advanced makedirs Will create the path if necessary. Will chmod, and chown that path properly. Defaults for user/group to the apache user Uses the above makedirs() function. |
|
FILETYPE2CHAR
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Mar 4 07:37:11 2020 | http://epydoc.sourceforge.net |