On Wed, Sep 14, 2016 at 04:32:16PM +0200, Christian Boltz wrote: > So a string also gets wrapped into a set (not a list) ;-) > (don't worry about getting it wrong - I also have to ask type() how an > array is named ;-)
Ah! this was the core of my confusion. I hadn't realized sets are
first-class language objects. So much to learn.
> > How should an empty string be treated?
>
> It will error out here (for empty string and whitespace-only string):
>
> for item in result_list:
> if not item.strip():
> raise AppArmorBug('Passed empty %(keyword_name)s to
> %(classname)s' %
> {'keyword_name': keyword_name, 'classname': classname})
Aha, good good.
Thanks :)
signature.asc
Description: PGP signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
