276
276
:raises RuntimeError when config file cannot be located or application
277
277
cannot be loaded from config file
279
#conf_file, conf = load_paste_config(app_name, options, args)
279
conf_file, conf = load_paste_config(app_name, options, args)
283
282
app = deploy.loadapp("config:%s" % conf_file, name=app_name)
284
283
except (LookupError, ImportError), e:
285
284
raise RuntimeError("Unable to load %(app_name)s from "
286
285
"configuration file %(conf_file)s."
287
286
"\nGot: %(e)r" % locals())
291
290
def get_option(options, option, **kwargs):