Skip to content

Commit

Permalink
Fiwalk: use new signature of get_buffers
Browse files Browse the repository at this point in the history
See #755 for more details.
  • Loading branch information
sevein committed Oct 19, 2017
1 parent dc96248 commit ecd3aab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def identify_file(self, filename):
f = open(filename, 'rb')
size = os.stat(filename)[6]
self.current_filesize = size
bofbuffer, eofbuffer = self.get_buffers(f, size, seekable=True)
bofbuffer, eofbuffer, __ = self.get_buffers(f, size, seekable=True)
matches = self.match_formats(bofbuffer, eofbuffer)
# from here is also repeated in walk_zip
# we should make this uniform in next version!
Expand Down

0 comments on commit ecd3aab

Please sign in to comment.