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

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/e/m/emzed-2.2.3/emzed/project/project.py   emzed(Download)
def activate_last_project():
    """ checks emezd config for current project and activates this """
 
    last_project = global_config.get("last_active_project")
    project_home = global_config.get("project_home")

src/e/m/emzed-2.2.3/emzed/core/update_handling.py   emzed(Download)
    def _finalize_update(self):
        # update succeeded
        self._update_latest_update_ts(time.time())
        exchange_folder = config.global_config.get("exchange_folder")
        if exchange_folder is not None:
    def check_for_newer_version_on_exchange_folder(self):
        """ returns flag, message
            flag = None means: no exchange folder configuered
        """
        exchange_folder = config.global_config.get("exchange_folder")
    def fetch_update_from_exchange_folder(self):
        """ returns flag, message
            flag = None means: no exchange folder configuered
        """
        exchange_folder = config.global_config.get("exchange_folder")

src/e/m/emzed-2.2.3/emzed/db/__init__.py   emzed(Download)
def _default_pubchem_folder():
    from ..core import config
    return config.global_config.get("emzed_files_folder")
 
 

src/e/m/emzed-2.2.3/emzed/updaters.py   emzed(Download)
    def script(add_info_line, add_update_info):
        exchange_folder = global_config.get("exchange_folder")
        if exchange_folder:
            yield add_info_line, ("configured exchange folder is %s" % exchange_folder,)
        else: