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