use urlopen from urllib2 on py2
authorHelmut Grohne <helmut@subdivi.de>
Tue, 24 May 2016 15:50:57 +0000 (17:50 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Tue, 24 May 2016 15:50:57 +0000 (17:50 +0200)
commit89378e07e16c071efed82753cc16fbe2b9fd1598
tree322110baa2ee6f6892e46e0e8ece5c4fa9e1d46d
parentbf1824d49d9fd2c19b4258184005822eacf41666
use urlopen from urllib2 on py2

This causes non-successful fetches to result in HTTPErrors like it does
in py3 already.
autoimport.py
importpkg.py