summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-10-03 11:43:59 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-10-03 11:43:59 +0200
commit5c3dbb734b7f958cb1bb227c2ffd934906820b3e (patch)
treee123e91e90680cd14474ffd265eb1c4808746fe2 /module/plugins
parentfixed urlmatcher, clear links on start option (diff)
downloadpyload-5c3dbb734b7f958cb1bb227c2ffd934906820b3e.tar.xz
new SafeEval
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/PluginManager.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 62460c644..0bf15f1a8 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -26,11 +26,7 @@ from sys import version_info
from itertools import chain
from traceback import print_exc
-try:
- from ast import literal_eval
-except ImportError: # python 2.5
- from module.lib.SafeEval import safe_eval as literal_eval
-
+from module.lib.SafeEval import const_eval as literal_eval
from module.ConfigParser import IGNORE
class PluginManager():