All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chad Sellers <csellers@tresys.com>
To: Marshall Miller <mmiller@tresys.com>, <selinux@tycho.nsa.gov>
Subject: Re: sepolgen typo fix
Date: Wed, 22 Apr 2009 17:24:53 -0400	[thread overview]
Message-ID: <C6150365.A6A77%csellers@tresys.com> (raw)
In-Reply-To: <1238528520.18182.338.camel@hostmachine.tresys.com>

On 3/31/09 3:42 PM, "Marshall Miller" <mmiller@tresys.com> wrote:

> Commit b3b3f8186ed6d56c48c4e0f997d6e6b3fd90be37 attempted to fix a bug,
> but didn't.  The following patch should do it.
> 
> 
> Marshall Miller
> 
> ---
> diff --git a/sepolgen/src/sepolgen/access.py
> b/sepolgen/src/sepolgen/access.py
> index 6de919a..71121d7 100644
> --- a/sepolgen/src/sepolgen/access.py
> +++ b/sepolgen/src/sepolgen/access.py
> @@ -313,7 +313,7 @@ class RoleTypeSet:
>  
>      def __len__(self):
>          """Return the unique number of role allow statements."""
> -        return len(self.role_type.keys())
> +        return len(self.role_types.keys())
>  
>      def add(self, role, type):
>          if self.role_types.has_key(role):
> 
Looks fine.

Acked-by: Chad Sellers <csellers@tresys.com>



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

  reply	other threads:[~2009-04-22 21:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31 19:42 sepolgen typo fix Marshall Miller
2009-04-22 21:24 ` Chad Sellers [this message]
2009-05-18 15:28   ` Joshua Brindle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C6150365.A6A77%csellers@tresys.com \
    --to=csellers@tresys.com \
    --cc=mmiller@tresys.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.