Skip to content

Commit

Permalink
remove SampleHashes __iter__method
Browse files Browse the repository at this point in the history
Co-authored-by: Willi Ballenthin <[email protected]>
  • Loading branch information
yelhamer and williballenthin authored Jul 21, 2023
1 parent 90298fe commit d13114e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions capa/features/extractors/base_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ class SampleHashes:
sha1: str
sha256: str

def __iter__(self) -> Iterator[str]:
yield self.md5
yield self.sha1
yield self.sha256

@classmethod
def from_bytes(cls, buf: bytes) -> "SampleHashes":
md5 = hashlib.md5()
Expand Down

0 comments on commit d13114e

Please sign in to comment.