autoimport: improve fetching package lists
authorHelmut Grohne <helmut@subdivi.de>
Wed, 25 May 2016 17:27:35 +0000 (19:27 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Wed, 25 May 2016 17:27:35 +0000 (19:27 +0200)
commit420804c25797add9689bacbd3db138a92a623c8e
tree5394acb6f3270a0b656fb4b0b5152f2f154835cc
parent89378e07e16c071efed82753cc16fbe2b9fd1598
autoimport: improve fetching package lists

Moving the fetching part into dedup.utils. Instead of hard coding the
gzip compressed copy, try xz, gz and plain in that order. Also take care
to actually close the connection.
autoimport.py
dedup/utils.py