Lines Matching defs:mfile
562 def __init__(self, mfile, error):
564 self.mfile = mfile
568 return "unable to parse manifest %s: %s" % (self.mfile, self.error)
579 def addmanifest(self, root, mfile, arch, modechecks, exceptions):
586 mfest.set_content(open(os.path.join(root, mfile)).read())
590 raise ManifestParsingError(mfile, str(exc))
662 print("warning: unsafe permissions in %s" % mfile)
670 for mfile in os.listdir(mdir):
671 if (mfile.endswith(".mog") and
672 stat.S_ISREG(os.lstat(os.path.join(mdir, mfile)).st_mode)):
674 self.addmanifest(mdir, mfile, arch, modechecks, exceptions)