Home | Trees | Index | Help |
---|
Package svnmailer :: Module util |
|
Classes | |
---|---|
ReadOnlyDict |
Read only dictionary |
SafeDict |
A dict, which returns '' on unknown keys or false values |
TempFile |
Tempfile container class |
Function Summary | |
---|---|
tuple
|
Returns the common component and the stripped paths |
tuple or None
|
Returns user data extracted from x509 subject string |
unicode
|
Replaces control characters with replace characters |
any |
Returns the value of the glob, where path matches |
list
|
Returns the directories up to a (posix) path |
popen2.Popen4 or _DummyPopen4
|
Returns a pipe object ( Popen4 or
_DummyPopen4 on win32) |
str or list
|
Return the revised command suitable for being exec'd |
Inherits class cls from *bases | |
Returns a modified query string | |
dict
|
Parses a query string |
list
|
Split a command string with respect to quotes and such |
str or unicode
|
Returns a filled template |
Function Details |
---|
commonPaths(paths)Returns the common component and the stripped paths It expects that directories do always end with a trailing slash and paths never begin with a slash (except root).
|
extractX509User(author)Returns user data extracted from x509 subject string
|
filterForXml(value)Replaces control characters with replace characters
|
getGlobValue(globs, path)Returns the value of the glob, where path matches
|
getParentDirList(path)Returns the directories up to a (posix) path
|
getPipe4(command)Returns a pipe object (Popen4 or
_DummyPopen4 on win32)
|
getSuitableCommandLine(command, _platform=None)Return the revised command suitable for being exec'd Currently this means, it's escaped and converted to a string only for Win32, because on this system the shell is called. For other systems the list is just returned.
|
inherit(cls, *bases)Inherits class cls from *bases
|
modifyQuery(query, rem=None, add=None, set=None, delim='&')Returns a modified query string
|
parseQuery(query)Parses a query string
|
splitCommand(command)Split a command string with respect to quotes and such The command string consists of several tokens:
r'foo bar "baz"
"zo\"" "\\nk"' resolves to
['foo', 'bar', 'baz', 'zo"', r'\nk']
|
substitute(template, subst)Returns a filled template If thetemplate is None , this
function returns None as well.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Apr 17 12:39:11 2006 | http://epydoc.sf.net |