mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 19:12:01 -08:00
remove SampleHashes __iter__method
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user