diff --git a/lutin/module.py b/lutin/module.py index 8c5257c..6c7575e 100644 --- a/lutin/module.py +++ b/lutin/module.py @@ -358,7 +358,7 @@ class Module: local_type = 'BINARY' if local_type in target.action_on_state: for lvl in range(0,100): - for level, action_name, action in target.action_on_state[self.type]: + for level, action_name, action in target.action_on_state[local_type]: if level == lvl: debug.debug("level=" + str(level) + " Do Action : " + action_name) elem = action(target, self, package_name); diff --git a/lutin/z_target/lutinTarget_Linux.py b/lutin/z_target/lutinTarget_Linux.py index 36ddb68..0077bdf 100644 --- a/lutin/z_target/lutinTarget_Linux.py +++ b/lutin/z_target/lutinTarget_Linux.py @@ -118,7 +118,7 @@ class Target(target.Target): target_outpath_data = os.path.join(target_outpath, self.pkg_path_data) tools.create_directory_of_file(target_outpath_data) debug.debug("heritage for " + str(pkg_name) + ":") - for heritage in heritage_list.lissourcet_heritage: + for heritage in heritage_list.list_heritage: debug.debug("sub elements: " + str(heritage.name)) path_src = self.get_build_path_data(heritage.name) debug.verbose(" has directory: " + path_src)