Skip to content

Commit

Permalink
fix code generation of old schema
Browse files Browse the repository at this point in the history
  • Loading branch information
hegner authored and tmadlener committed Aug 30, 2023
1 parent 5f65a4a commit 87917eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/podio_class_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,9 @@ def _process_datatype(self, name, definition):
if member.full_type in self.root_schema_evolution_dict.keys():
needs_schema_evolution = True
self._replaceComponentInPaths(member.full_type, member.full_type + self.old_schema_version,
schema_evolution_datatype['includes'])
schema_evolution_datatype['includes_data'])
member.full_type = member.full_type + self.old_schema_version
member.bare_type = member.bare_type + self.old_schema_version

if needs_schema_evolution:
print(" Preparing explicit schema evolution for %s" % (name))
Expand Down

0 comments on commit 87917eb

Please sign in to comment.