Skip to content

Commit

Permalink
Fix exception. Although it will be auto-instantiated it's better to e…
Browse files Browse the repository at this point in the history
…xplicitily use the exception instance
  • Loading branch information
gcmoreira committed Jan 9, 2024
1 parent 82668af commit 6b3bbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volatility3/framework/interfaces/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(

def __getattr__(self, attr: str) -> Any:
"""Method for ensuring volatility members can be returned."""
raise AttributeError
raise AttributeError()

@property
def vol(self) -> ReadOnlyMapping:
Expand Down

0 comments on commit 6b3bbad

Please sign in to comment.