diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-06-28 15:57:48 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-06-28 20:23:46 +0200 |
commit | d8f5e6d74b386045a451ed20a3c250204be8946e (patch) | |
tree | d6fea466ca287e8de33201d4d42b5b12d7c2f75b /module/lib/beaker/converters.py | |
parent | [Lib] Revert libraries to original status (remove all cosmetics optimizations) (diff) | |
download | pyload-d8f5e6d74b386045a451ed20a3c250204be8946e.tar.xz |
[Lib] Update beaker.py to version 1.6.4
Diffstat (limited to 'module/lib/beaker/converters.py')
-rw-r--r-- | module/lib/beaker/converters.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/lib/beaker/converters.py b/module/lib/beaker/converters.py index f0ad34963..3fb80692f 100644 --- a/module/lib/beaker/converters.py +++ b/module/lib/beaker/converters.py @@ -1,3 +1,5 @@ + + # (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org) # Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php def asbool(obj): @@ -12,6 +14,7 @@ def asbool(obj): "String is not true/false: %r" % obj) return bool(obj) + def aslist(obj, sep=None, strip=True): if isinstance(obj, (str, unicode)): lst = obj.split(sep) |