summaryrefslogtreecommitdiffstats
path: root/module/plugins/PluginManager.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-19 02:23:19 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-19 02:23:19 +0200
commit0aca8ebfb15237e60effce06ccff2085516117f6 (patch)
treee3f28471f4f682f333d5f1b0725ec6572b9cb1bc /module/plugins/PluginManager.py
parentMove test stuff to common directory (diff)
downloadpyload-0aca8ebfb15237e60effce06ccff2085516117f6.tar.xz
Remove self-tests from all files
Diffstat (limited to 'module/plugins/PluginManager.py')
-rw-r--r--module/plugins/PluginManager.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 4aa5ad575..1e1656ce8 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -369,22 +369,3 @@ class PluginManager:
def reloadPlugin(self, type_plugin):
""" reload and reindex ONE plugin """
return True if self.reloadPlugins(type_plugin) else False
-
-
-
-if __name__ == "__main__":
- _ = lambda x: x
- pypath = "/home/christian/Projekte/pyload-0.4/module/plugins"
-
- from time import time
-
- p = PluginManager(None)
-
- a = time()
-
- test = ["http://www.youtube.com/watch?v=%s" % x for x in xrange(0, 100)]
- print p.parseUrls(test)
-
- b = time()
-
- print b - a, "s"