callers like repoman don't need exception handling. (trunk r11924)
svn path=/main/branches/2.1.6/; revision=11925
writemsg(("!!! File %s doesn't exist, can't update " + \
"Manifest\n") % e, noiselevel=-1)
return 0
- mf.write(sign=False)
+ try:
+ mf.write(sign=False)
+ except portage.exception.PermissionDenied, e:
+ writemsg("!!! Permission Denied: %s\n" % (e,), noiselevel=-1)
+ return 0
if "assume-digests" not in mysettings.features:
distlist = mf.fhashdict.get("DIST", {}).keys()
distlist.sort()