[DEBUG] internal error

This commit is contained in:
Edouard DUPIN 2015-09-18 21:19:33 +02:00
parent f1d6ad6ce8
commit 773a644ba1
2 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ class Module:
local_type = 'BINARY' local_type = 'BINARY'
if local_type in target.action_on_state: if local_type in target.action_on_state:
for lvl in range(0,100): 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: if level == lvl:
debug.debug("level=" + str(level) + " Do Action : " + action_name) debug.debug("level=" + str(level) + " Do Action : " + action_name)
elem = action(target, self, package_name); elem = action(target, self, package_name);

View File

@ -118,7 +118,7 @@ class Target(target.Target):
target_outpath_data = os.path.join(target_outpath, self.pkg_path_data) target_outpath_data = os.path.join(target_outpath, self.pkg_path_data)
tools.create_directory_of_file(target_outpath_data) tools.create_directory_of_file(target_outpath_data)
debug.debug("heritage for " + str(pkg_name) + ":") 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)) debug.debug("sub elements: " + str(heritage.name))
path_src = self.get_build_path_data(heritage.name) path_src = self.get_build_path_data(heritage.name)
debug.verbose(" has directory: " + path_src) debug.verbose(" has directory: " + path_src)