remove obsolete get_type_from_object() and use Object.type

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-06 20:42:31 +02:00
commit b891818b9c
2 changed files with 1 additions and 6 deletions

View file

@ -78,7 +78,7 @@ class ConfigInstall:
def run_type_explorer(self, cdist_object):
"""Run type specific explorers for objects"""
type = self.path.get_type_from_object(cdist_object)
type = cdist_object.type
self.path.transfer_type_explorers(type)
cmd = []