For bug #180165, make portageq print a "Permission denied" error when appropriate...
authorZac Medico <zmedico@gentoo.org>
Wed, 20 Jun 2007 00:01:49 +0000 (00:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 20 Jun 2007 00:01:49 +0000 (00:01 -0000)
commit13ecf921b8e21c1ce98c6da8a5852ba13acfb280
treef0d1666f8f386127bb745ecab6c497806fa5d460
parentf1b6fede42435d2c53db5af3d10cdbc1f2853fb1
For bug #180165, make portageq print a "Permission denied" error when appropriate.  A PermissionDenied exception is raised from portage.listdir() enven when EmptyOnError is True since errno.EACCES is very likely to indicate a condition that should be reported in any case.

svn path=/main/trunk/; revision=6881
bin/emerge
bin/portageq
pym/portage/__init__.py
pym/portage/exception.py