From 0aca8ebfb15237e60effce06ccff2085516117f6 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 19 Jul 2014 02:23:19 +0200 Subject: Remove self-tests from all files --- module/plugins/PluginManager.py | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'module/plugins/PluginManager.py') 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" -- cgit v1.2.3