Skip to content

Commit

Permalink
Fix invalid class reference
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMind committed Nov 13, 2024
1 parent a598fe9 commit 779be6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/olympia/blocklist/mlbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ def __init__(self, storage: SafeStorage):

@cached_property
def blocked_items(self) -> List[str]:
return self._data.get(self.data_type_key(MLBFDataType.BLOCKED), [])
return self._data.get(MLBF.data_type_key(MLBFDataType.BLOCKED), [])

@cached_property
def soft_blocked_items(self) -> List[str]:
return self._data.get(self.data_type_key(MLBFDataType.SOFT_BLOCKED), [])
return self._data.get(MLBF.data_type_key(MLBFDataType.SOFT_BLOCKED), [])

@cached_property
def not_blocked_items(self) -> List[str]:
return self._data.get(self.data_type_key(MLBFDataType.NOT_BLOCKED), [])
return self._data.get(MLBF.data_type_key(MLBFDataType.NOT_BLOCKED), [])


class MLBFDataBaseLoader(BaseMLBFLoader):
Expand Down

0 comments on commit 779be6e

Please sign in to comment.