def get_descr_by_name(self, name, context=None):
	if name.startswith(self.mod.tgt_prefix):
	    return self.get_descr_by_tgt_name(name, context)

	e = self
	parts = name.split('.')
	for part in parts:
	    try:
		e = e.localview[part]
	    except __HOLE__:
		assert context
		self.env.error(
		    'Undefined: %r in %r.'%(part, e.get_id_name()), context,
		    exception=UndefinedError)
	    e.resolve_lookuped()
	return e
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/gsl/Main.py/Package.get_descr_by_name