Skip to content

Commit b88343f

Browse files
evtx: use sys.maxsize over maxint
thanks to @goorgoorlou in #52
1 parent 946dee5 commit b88343f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Evtx/Evtx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def chunks(self, include_inactive=False):
229229
declared in the file header (and may therefore be corrupt).
230230
"""
231231
if include_inactive:
232-
chunk_count = sys.maxint
232+
chunk_count = sys.maxsize
233233
else:
234234
chunk_count = self.chunk_count()
235235

0 commit comments

Comments
 (0)