Skip to content

Commit

Permalink
remove that ancient get_property thing
Browse files Browse the repository at this point in the history
  • Loading branch information
duncathan committed Jun 23, 2023
1 parent 3854d1c commit ff1260a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions retro_data_structures/formats/script_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,6 @@ def set_properties(self, data: BaseObjectType):
self._raw.base_property = data.to_bytes()
self.on_modify()

def get_property(self, chain: Iterator[str]):
prop = self.get_properties()
for name in chain:
prop = getattr(prop, name)
return prop

@contextlib.contextmanager
def edit_properties(self, type_cls: type[PropertyType]):
props = self.get_properties_as(type_cls)
Expand Down

0 comments on commit ff1260a

Please sign in to comment.