summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-25 16:50:41 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-25 16:50:41 +0200
commit158eb3747dbe609f18d403c1dfedd2323afe981b (patch)
tree69ce3c28ffea67782dc35005f2b056a3072849c7
parentmore fixed for plugin tester (diff)
downloadpyload-158eb3747dbe609f18d403c1dfedd2323afe981b.tar.xz
Another replace rule
-rw-r--r--pavement.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pavement.py b/pavement.py
index b840d04e0..80fcfa5a3 100644
--- a/pavement.py
+++ b/pavement.py
@@ -57,6 +57,7 @@ xargs = ["--language=Python", "--add-comments=L10N",
# Modules replace rules
module_replace = [
('from module.plugins.Hoster import Hoster', 'from pyload.plugins.Hoster import Hoster'),
+('from module.plugins.Hook import threaded, Expose, Hook', 'from pyload.plugins.Addon import threaded, Expose, Addon'),
('from module.plugins.Hook import Hook', 'from pyload.plugins.Addon import Addon'),
('from module.common.json_layer import json_loads, json_dumps', 'from pyload.utils import json_loads, json_dumps'),
('from module.common.json_layer import json_loads', 'from pyload.utils import json_loads'),