Skip to content

Commit

Permalink
Set ._arch instead of .arch in backend objects
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Aug 16, 2023
1 parent 046ffa2 commit 03626a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cle/backends/static_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, *args, **kwargs):
self.child_objects.append(child)

if self.child_objects:
self.arch = self.child_objects[0].arch
self._arch = self.child_objects[0].arch
else:
log.warning("Loaded empty static archive?")
self.has_memory = False
Expand Down
2 changes: 1 addition & 1 deletion cle/backends/uefi_firmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, *args, **kwargs) -> None:
self.child_objects.append(child)

if self.child_objects:
self.arch = self.child_objects[0].arch
self._arch = self.child_objects[0].arch
else:
log.warning("Loaded empty UEFI firmware?")
self.has_memory = False
Expand Down

0 comments on commit 03626a9

Please sign in to comment.