David Bremner <brem...@debian.org> writes:

> I just checked and gzip.open has the same problem with python3, while
> with python2 I get
>
> Traceback (most recent call last):
>   File "test.py", line 6, in <module>
>     for src in Sources.iter_paragraphs(f):
>   File "/usr/lib/python2.7/dist-packages/debian/deb822.py", line 706, in 
> iter_paragraphs
>     for section in parser:
> apt_pkg.Error: E:Unable to parse package file  (1)

That part was user error. I fetched the correct Sources.gz again this
morning and the gzip version seems fine.

Reply via email to