svn path=/main/trunk/; revision=3417
writemsg(_("Local mirror has file: %(file)s\n" % {"file":myfile}))
shutil.copyfile(mydir+"/"+myfile,destdir+"/"+myfile)
break
- else:
+ try:
apply_secpass_permissions(os.path.join(mysettings["DISTDIR"], myfile), gid=portage_gid,
mode=0664, mask=02)
+ except portage_exception.FileNotFound:
+ pass
except (OSError,IOError),e:
# file does not exist
writemsg(_("!!! %(file)s not found in %(dir)s\n") % {"file":myfile, "dir":mysettings["DISTDIR"]})