diff options
author | keis <keijser@gmail.com> | 2011-01-23 21:57:16 +0100 |
---|---|---|
committer | keis <keijser@gmail.com> | 2011-02-15 21:17:16 +0100 |
commit | 3594f35e565ebf210b583bcc3c4df042e0dc4191 (patch) | |
tree | 614eab8b78bc09cc16a642783064ae119ee573c9 /examples/data/plugins/bind.py | |
parent | bed2433630f6d0d78e8b829c46b00c3ab301b512 (diff) |
move common function related to escaping to Plugin
Diffstat (limited to 'examples/data/plugins/bind.py')
-rw-r--r-- | examples/data/plugins/bind.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/data/plugins/bind.py b/examples/data/plugins/bind.py index 41f96c5..69fd863 100644 --- a/examples/data/plugins/bind.py +++ b/examples/data/plugins/bind.py @@ -164,15 +164,6 @@ def split_glob(glob): return (mods, glob) -def unquote(str): - '''Remove quotation marks around string.''' - - if str and str[0] == str[-1] and str[0] in ['"', "'"]: - str = str[1:-1] - - return str - - class Bind(object): # Class attribute to hold the number of Bind classes created. |