From 1b7194478742c7f1dc9753af4a477e74791ef65b Mon Sep 17 00:00:00 2001 From: mkaay Date: Tue, 14 Sep 2010 18:11:48 +0200 Subject: resolved a python 2.5 issue --- module/PluginManager.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'module/PluginManager.py') diff --git a/module/PluginManager.py b/module/PluginManager.py index 29c01ce21..19dd5886f 100644 --- a/module/PluginManager.py +++ b/module/PluginManager.py @@ -31,6 +31,10 @@ from os.path import abspath from sys import version_info from itertools import chain +try: + from ast import literal_eval +except ImportError: # python 2.5 + from module.SaveEval import save_eval as literal_eval class PluginManager(): def __init__(self, core): -- cgit v1.2.3