for x in msg:
portage.writemsg(">>> %s\n" % x)
-from portage.exception import UnsupportedAPIException
+from portage.exception import PermissionDenied, UnsupportedAPIException
checked_for_stale_env = False
for arg in pargs:
for x in msg:
portage.writemsg("!!! %s\n" % x, noiselevel=-1)
a = 1
+ except PermissionDenied, e:
+ portage.writemsg("!!! Permission Denied: %s\n" % (e,), noiselevel=-1)
+ a = 1
if a == None:
print "Could not run the required binary?"
a = 127
elif "digest" in mysettings.features:
digestgen(aalist, mysettings, overwrite=0, myportdb=mydbapi)
except portage.exception.PermissionDenied, e:
- writemsg("!!! %s\n" % str(e), noiselevel=-1)
+ writemsg("!!! Permission Denied: %s\n" % (e,), noiselevel=-1)
if mydo in ("digest", "manifest"):
return 1