sepolgen typo fix

Commit b3b3f8186e attempted to fix a bug,
but didn't.  The following patch should do it.

Marshall Miller

Signed-off-by: Chad Sellers <csellers@tresys.com>
This commit is contained in:
Marshall Miller 2009-03-31 15:42:00 -04:00 committed by Chad Sellers
parent 35490f2fa5
commit 7e3311a9a7

View File

@ -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):