Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/g/r/gramps-3.4.2/src/gui/viewmanager.py   Gramps(Download)
from gui.navigator import Navigator
from gui.views.tags import Tags
from gen.utils.configmanager import safe_eval
 
#-------------------------------------------------------------------------
                for line in lines:
                    try:
                        plugin_dict = safe_eval(line)
                        if type(plugin_dict) != type({}):
                            raise TypeError("Line with addon metadata is not "

src/g/r/gramps-3.4.2/src/cli/argparser.py   Gramps(Download)
import const
import config
from gen.utils.configmanager import safe_eval
import Utils
 
                                new_value = config.get_default(setting_name)
                            else:
                                new_value = safe_eval(new_value)
                            config.set(setting_name, new_value)
                            print >> sys.stderr, "    New Gramps config " \