diff options
-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() |