aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/plugins/bind.py
diff options
context:
space:
mode:
authorGravatar keis <keijser@gmail.com>2011-01-23 21:57:16 +0100
committerGravatar keis <keijser@gmail.com>2011-02-15 21:17:16 +0100
commit3594f35e565ebf210b583bcc3c4df042e0dc4191 (patch)
tree614eab8b78bc09cc16a642783064ae119ee573c9 /examples/data/plugins/bind.py
parentbed2433630f6d0d78e8b829c46b00c3ab301b512 (diff)
move common function related to escaping to Plugin
Diffstat (limited to 'examples/data/plugins/bind.py')
-rw-r--r--examples/data/plugins/bind.py9
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.