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

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

src/b/o/boarded-0.1/Boarded/configreader.py   boarded(Download)
 
from Boarded.i18n import _
from Boarded.config import DEFAULT_CONFIG, SAVABLE_PROPERTIES, \
                           DEFAULT_PROPERTIES
from Boarded.constants import CONFIG_DIR, CONFIG_FILES, KB_DIRS, \
def save_properties(config):
  props = {}
  for propname in SAVABLE_PROPERTIES:
    if propname in config:
      props[propname] = config[propname]