summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-08-03 19:30:09 +0200
committermathieui <mathieui@mathieui.net>2013-08-03 19:30:09 +0200
commitdecb2bb27e1850f659195890ee1e71a462f81248 (patch)
tree4390fe37dd1c223f021b517deef0044baf8a8d54 /src
parent31c2e23c4c3e2933952d5851bd5c97eb336258dd (diff)
downloadpoezio-decb2bb27e1850f659195890ee1e71a462f81248.tar.gz
poezio-decb2bb27e1850f659195890ee1e71a462f81248.tar.bz2
poezio-decb2bb27e1850f659195890ee1e71a462f81248.tar.xz
poezio-decb2bb27e1850f659195890ee1e71a462f81248.zip
Remove test code added by accident
Diffstat (limited to 'src')
-rw-r--r--src/decorators.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/decorators.py b/src/decorators.py
index 3cb967b3..56fb3184 100644
--- a/src/decorators.py
+++ b/src/decorators.py
@@ -2,8 +2,6 @@
Module containing various decorators
"""
-from functools import partial
-
class RefreshWrapper(object):
def __init__(self):
self.core = None
@@ -42,14 +40,4 @@ class RefreshWrapper(object):
return ret
return wrap
-def __completion(quoted, func):
- class Completion(object):
- quoted = quoted
- def __new__(cls, *args, **kwargs):
- return func(*args, **kwargs)
- return Completion
-
-
-completion_quotes = partial(__completion, True)
-completion_raw = partial(__completion, False)
refresh_wrapper = RefreshWrapper()