diff options
author | mathieui <mathieui@mathieui.net> | 2013-08-03 19:30:09 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-08-03 19:30:09 +0200 |
commit | decb2bb27e1850f659195890ee1e71a462f81248 (patch) | |
tree | 4390fe37dd1c223f021b517deef0044baf8a8d54 | |
parent | 31c2e23c4c3e2933952d5851bd5c97eb336258dd (diff) | |
download | poezio-decb2bb27e1850f659195890ee1e71a462f81248.tar.gz poezio-decb2bb27e1850f659195890ee1e71a462f81248.tar.bz2 poezio-decb2bb27e1850f659195890ee1e71a462f81248.tar.xz poezio-decb2bb27e1850f659195890ee1e71a462f81248.zip |
Remove test code added by accident
-rw-r--r-- | src/decorators.py | 12 |
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() |