scripts/StepImporter/CppGenerator.py: remove unused format parameter on line 158

pull/2392/head
Charlie Gettys 2019-03-27 12:53:20 -04:00
parent ae6c1e5ad8
commit 1371cb59d9
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ def get_single_conversion(field,schema,argnum=0,classname='?'):
name = field.name
if field.collection:
typen = 'LIST'
return template_convert_single.format(type=typen,name=name,argnum=argnum,classname=classname,full_type=field.fullspec)
return template_convert_single.format(name=name,argnum=argnum,classname=classname,full_type=field.fullspec)
def count_args_up(entity,schema):
return len(entity.members) + (count_args_up(schema.entities[entity.parent],schema) if entity.parent else 0)