summaryrefslogtreecommitdiffstats
path: root/pavement.py
diff options
context:
space:
mode:
Diffstat (limited to 'pavement.py')
-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'),