diff options
author | Helmut Grohne <helmut@subdivi.de> | 2020-02-16 08:21:20 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2020-02-16 08:21:20 +0100 |
commit | 27b95909f061ae3ecb3ba1b8d46adfef98ca5e6f (patch) | |
tree | 87695b998b1e97e406050584812d4db68bdb4610 /dedup/filemagic.py | |
parent | e77a1ebf8bda10494088bb6c72873d8ef214e0f3 (diff) | |
download | debian-dedup-27b95909f061ae3ecb3ba1b8d46adfef98ca5e6f.tar.gz |
drop support for Python 2.x
Diffstat (limited to 'dedup/filemagic.py')
-rw-r--r-- | dedup/filemagic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dedup/filemagic.py b/dedup/filemagic.py index c5a6357..b71c276 100644 --- a/dedup/filemagic.py +++ b/dedup/filemagic.py @@ -9,7 +9,7 @@ try: except AttributeError: _magic_identify = magic.none_magic.buffer -class FileDigester(object): +class FileDigester: """A hashlib-like class to guess a filetype using the magic module.""" FILE_BYTES_MAX = 1024 * 1024 # copied from file source |