Re: [PATCH 01/10] Add back attributes flag to fix exception crash.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/31/2013 10:01 AM, Dan Walsh wrote:
> ---
>  sepolgen/src/sepolgen/interfaces.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sepolgen/src/sepolgen/interfaces.py b/sepolgen/src/sepolgen/interfaces.py
> index 3258684..88a6dc3 100644
> --- a/sepolgen/src/sepolgen/interfaces.py
> +++ b/sepolgen/src/sepolgen/interfaces.py
> @@ -276,7 +276,7 @@ class InterfaceVector:
>          if attributes:
>              for typeattribute in interface.typeattributes():
>                  for attr in typeattribute.attributes:
> -                    if not attributes.has_key(attr):
> +                    if not attributes.attributes.has_key(attr):
>                          # print "missing attribute " + attr
>                          continue
>                      attr_vec = attributes.attributes[attr]

I pushed this as sepolgen-1.2.1.




--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux