diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-18 06:09:04 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 22:37:54 +0100 |
commit | 58125cc90a78b67093b8213247ea647dd67dd9ca (patch) | |
tree | 69ae964377cbd45430bb78ade3930b820e867a55 /module/plugins/internal/misc.py | |
parent | [OCR] self.image -> self.img (diff) | |
download | pyload-58125cc90a78b67093b8213247ea647dd67dd9ca.tar.xz |
Spare code fixes
Diffstat (limited to 'module/plugins/internal/misc.py')
-rw-r--r-- | module/plugins/internal/misc.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py index 864e5dd6f..9085106cd 100644 --- a/module/plugins/internal/misc.py +++ b/module/plugins/internal/misc.py @@ -84,22 +84,6 @@ class SimpleQueue(object): return self.set(queue) -class Expose(object): - """ - Used for decoration to declare rpc services - """ - def __new__(cls, f, *args, **kwargs): - hookManager.addRPC(f.__module__, f.func_name, f.func_doc) - return f - - -def threaded(fn): - def run(*args, **kwargs): - hookManager.startThread(fn, *args, **kwargs) - - return run - - def lock(fn): def new(*args): args[0].lock.acquire() |