Skip to content

Commit

Permalink
linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aremazeilles committed Jan 20, 2020
1 parent aa648cb commit 03e7434
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions package_generator/scripts/generate_xml_skel
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

from package_generator.package_xml_parser import main_generate_xml


if __name__ == '__main__':
main_generate_xml()
4 changes: 3 additions & 1 deletion package_generator/src/package_generator/generate_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ def template_sanity_check(self):
self.log_error("Revise the template")
return is_ok


# todo complete the usage description with available templates
# and with existing commands
USAGE_GEN = """ usage: generate_package package_spec package_template
Expand All @@ -711,7 +712,7 @@ def main():
print colored(USAGE_GEN, "yellow")

try:
[all_template_path, template_names] = gen.get_template_info()
[_, template_names] = gen.get_template_info()
except rospkg.common.ResourceNotFound as error:
msg = "Package package_generator_templates not found in rospack"
print colored(msg, 'red')
Expand Down Expand Up @@ -808,6 +809,7 @@ def main_check():

gen = PackageGenerator()

# Todo: method is not existing anymore
if not gen.set_package_template(path_template):
print colored("Not able to load the template at:", "red")
print colored(path_template, "red")
Expand Down

0 comments on commit 03e7434

Please sign in to comment.