bugfix: make __object_name available in type explorers

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2012-09-07 14:02:43 +02:00
parent 2be4b36da0
commit 0775b84c40

View file

@ -135,6 +135,7 @@ class Explorer(object):
env.update({
'__object': os.path.join(self.remote.object_path, cdist_object.path),
'__object_id': cdist_object.object_id,
'__object_name': cdist_object.name,
'__object_fq': cdist_object.path,
'__type_explorer': os.path.join(self.remote.type_path, cdist_type.explorer_path)
})