[apparmor] [PATCH] add --include-template-dir and --include-policy-groups-dir to easyprof

Seth Arnold seth.arnold at canonical.com
Fri Mar 27 22:55:48 UTC 2015


On Fri, Mar 27, 2015 at 03:53:36PM -0700, Seth Arnold wrote:
> > +                apparmor.easyprof.print_files([inc_t])
> > +            else:
> > +                error("Could not find '%s'" % options.template)

> > +                    files.append(inc_g)
> > +                else:
> > +                    warn("Could not find '%s'" % g)
> 
> Is this warn() correct? for the similar error of missing templates you're
> using exit().

Of course I meant error(), not exit().

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150327/58fc26df/attachment.pgp>


More information about the AppArmor mailing list