Commit b494f9c9 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

configuration: get class name in an inherited manner.

parent 42b42fbb
......@@ -8,7 +8,9 @@
import weakref
def find_class(cfg_node,base_path='bliss.controllers'):
klass_name = cfg_node['class']
klass_name = cfg_node.get_inherited('class')
if klass_name is None:
raise KeyError("class")
if 'package' in cfg_node:
module_name = cfg_node['package']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment