Skip to content

Commit

Permalink
fix(ipk): fix hash field
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Mar 30, 2024
1 parent 2d62777 commit a6f19b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ipm/models/ipk.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,9 @@ def __init__(self, source_path: Union[str, Path], name: str, version: str) -> No
self._name = name
self._version = version

def __hash__(self) -> str:
return ifp_hash(self._source_path)

@property
def hash(self) -> str:
return self.hash
return ifp_hash(self._source_path)

@property
def name(self) -> str:
Expand Down

0 comments on commit a6f19b0

Please sign in to comment.