scripts/StepImporter/CppGenerator.py: remove unused format parameter on line 158
parent
ae6c1e5ad8
commit
1371cb59d9
|
@ -155,7 +155,7 @@ def get_single_conversion(field,schema,argnum=0,classname='?'):
|
||||||
name = field.name
|
name = field.name
|
||||||
if field.collection:
|
if field.collection:
|
||||||
typen = 'LIST'
|
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):
|
def count_args_up(entity,schema):
|
||||||
return len(entity.members) + (count_args_up(schema.entities[entity.parent],schema) if entity.parent else 0)
|
return len(entity.members) + (count_args_up(schema.entities[entity.parent],schema) if entity.parent else 0)
|
||||||
|
|
Loading…
Reference in New Issue