From decb2bb27e1850f659195890ee1e71a462f81248 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 3 Aug 2013 19:30:09 +0200 Subject: Remove test code added by accident --- src/decorators.py | 12 ------------ 1 file changed, 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() -- cgit v1.2.3