Handle EnvironmentError instead of OSError since open()
authorZac Medico <zmedico@gentoo.org>
Thu, 18 Oct 2007 21:10:21 +0000 (21:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 18 Oct 2007 21:10:21 +0000 (21:10 -0000)
commite4b006f51f451c124d8928c88bf38ab749ae5c11
treee183bd5a43affee6e3aeb95c19922da83e065fee
parent2e790c87a42eca204d5b48fda404525cbec7d5da
Handle EnvironmentError instead of OSError since open()
actually raises IOError. Also, treat a missing SLOT
file as SLOT="" since it is currently possible to
install an ebuild with an undefined SLOT even though
repoman generates a SLOT.missing error with such an
ebuild. (trunk r8174)

svn path=/main/branches/2.1.2/; revision=8175
pym/portage.py