string
|
|
string
|
|
|
|
|
mergeImplements(*classes)
Merge the __implements__ tuples of the given classes into one tuple. |
source code
|
|
|
daemonize(stdin=' /dev/null ' ,
stdout=' /dev/null ' ,
stderr=' /dev/null ' ,
directory=' / ' )
This forks the current process into a daemon. |
source code
|
|
|
startup(processType,
processName,
daemonize=False,
daemonizeTo=' / ' )
Prepare a process for starting, logging appropriate standarised
messages. |
source code
|
|
|
daemonizeHelper(processType,
daemonizeTo=' / ' ,
processName=None)
Daemonize a process, writing log files and PID files to conventional
locations. |
source code
|
|
|
argRepr(args=( ) ,
kwargs={ } ,
max=-1)
Return a string representing the given args. |
source code
|
|
|
|
|
getPidPath(type,
name=None)
Get the full path to the pid file for the given process type and
name. |
source code
|
|
str
|
writePidFile(type,
name=None)
Write a pid file in the run directory, using the given process type
and process name for the filename. |
source code
|
|
str
|
deletePidFile(type,
name=None)
Delete the pid file in the run directory, using the given process
type and process name for the filename. |
source code
|
|
|
getPid(type,
name=None)
Get the pid from the pid file in the run directory, using the given
process type and process name for the filename. |
source code
|
|
|
|
|
|
|
|
|
waitPidFile(type,
name=None)
Wait for the given process type and name to have started and created
a pid file. |
source code
|
|
|
waitForTerm()
Wait until we get killed by a TERM signal (from someone else). |
source code
|
|
|
|
|
|
|
componentPath(componentName,
parentName)
Create a path string out of the name of a component and its parent. |
source code
|
|
str
|
componentId(parentName,
componentName)
Create a componentId based on the
parentName and componentName . |
source code
|
|
tuple of (str, str)
|
|
str
|
feedId(componentName,
feedName)
Create a feedId based on the componentName
and feedName . |
source code
|
|
tuple of (str, str)
|
|
str
|
fullFeedId(flowName,
componentName,
feedName)
Create a fullFeedId based on the flowName ,
componentName and feedName . |
source code
|
|
tuple of (str, str, str)
|
|
|
objRepr(object)
Return a string giving the fully qualified class of the given object. |
source code
|
|
|
|
|
getLL()
Return the (at most) two-letter language code set for message
translation. |
source code
|
|
|
gettexter(domain)
Returns a method you can use as _ to translate strings for the given
domain. |
source code
|
|
int
|
|
str
|
|
|
_uniq(l,
key=<function <lambda> at 0x2028b5f0>)
Filters out duplicate entries in a list. |
source code
|
|
|
_call_each_method(obj,
method,
mro,
args,
kwargs) |
source code
|
|
|
|
|
|
|
|