Handle EnvironmentError instead of OSError since open()
authorZac Medico <zmedico@gentoo.org>
Thu, 18 Oct 2007 21:08:40 +0000 (21:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 18 Oct 2007 21:08:40 +0000 (21:08 -0000)
commit5bf0525011ad05b45c043d66f8c0cbc9e605a8f4
tree13b90f49141332841a14ca81f8e99cd7a644c5aa
parentca100dbad4dc17bd640419a1d3106f596f201757
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.

svn path=/main/trunk/; revision=8174
pym/portage/dbapi/vartree.py