Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
code style only
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Apr 1, 2015
1 parent 3b498f9 commit cb75a3d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ def generate_dds_opensplice_cpp(
return 0


def generate_typesupport_opensplice_cpp(pkg_name, ros_interface_files, deps, output_dir, template_dir):
def generate_typesupport_opensplice_cpp(
pkg_name, ros_interface_files, deps, output_dir, template_dir
):
mapping_msgs = {
os.path.join(template_dir, 'msg_TypeSupport.h.template'): '%s_TypeSupport.h',
os.path.join(template_dir, 'msg_TypeSupport.cpp.template'): '%s_TypeSupport.cpp',
}

mapping_srvs = {
os.path.join(template_dir, 'srv_ServiceTypeSupport.cpp.template'): '%s_ServiceTypeSupport.cpp',
os.path.join(template_dir, 'srv_ServiceTypeSupport.cpp.template'):
'%s_ServiceTypeSupport.cpp',
}

for template_file in mapping_msgs.keys():
Expand Down Expand Up @@ -114,5 +117,4 @@ def generate_typesupport_opensplice_cpp(pkg_name, ros_interface_files, deps, out
os.remove(generated_file)
raise


return 0

0 comments on commit cb75a3d

Please sign in to comment.