8206:adf11836cfce | 8207:d359172d11be |
---|---|
6 """ | 6 """ |
7 Module implementing the threat list info class. | 7 Module implementing the threat list info class. |
8 """ | 8 """ |
9 | 9 |
10 | 10 |
11 class ThreatList(object): | 11 class ThreatList: |
12 """ | 12 """ |
13 Class implementing the threat list info. | 13 Class implementing the threat list info. |
14 """ | 14 """ |
15 def __init__(self, threatType, platformType, threatEntryType): | 15 def __init__(self, threatType, platformType, threatEntryType): |
16 """ | 16 """ |
58 @rtype str | 58 @rtype str |
59 """ | 59 """ |
60 return '/'.join(self.asTuple()) | 60 return '/'.join(self.asTuple()) |
61 | 61 |
62 | 62 |
63 class HashPrefixList(object): | 63 class HashPrefixList: |
64 """ | 64 """ |
65 Class implementing a container for threat list data. | 65 Class implementing a container for threat list data. |
66 """ | 66 """ |
67 def __init__(self, prefixLength, rawHashes): | 67 def __init__(self, prefixLength, rawHashes): |
68 """ | 68 """ |