Package: python3-dep11 Version: 0.4.0-1 Dear Maintainer,
When I call dep11-validate on a non-gzipped file, I get the following error: Traceback (most recent call last): File "/usr/bin/dep11-validate", line 53, in <module> main() File "/usr/bin/dep11-validate", line 36, in main ret = validator.validate_file(fname) File "/usr/lib/python3/dist-packages/dep11/validate.py", line 296, in validate_file data = str(f.read(), 'utf-8') TypeError: decoding str is not supported The problem is that gzip.open(fname, 'r') returns a binary mode file object (you need to specify 'rt' instead of 'r' to get a text mode object), while open(fname, 'r') returns a text mode file object, thus there is nothing to decode. -- Dmitry Shachnev
signature.asc
Description: OpenPGP digital signature