sepolgen typo fix
Commit b3b3f8186ed6d56c48c4e0f997d6e6b3fd90be37 attempted to fix a bug, but didn't. The following patch should do it.
Marshall Miller
---
(quoted diff) +0 -0
b/sepolgen/src/sepolgen/access.py
index 6de919a..71121d7 100644
sepolgen/src/sepolgen/access.py +1 -1
@@ -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):
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Chad Sellers
Acked-byQuoted 14 lines · Marshall Miller
Commit
b3b3f8186ed6d56c48c4e0f997d6e6b3fd90be37attempted to fix a bug, but didn't. The following patch should do it.Marshall Miller
---
sepolgen/src/sepolgen/access.py +0
-0
sepolgen/src/sepolgen/access.py class RoleTypeSet: · line 319
Quoted 8 lines
sepolgen/src/sepolgen/access.py +1
-1@@ -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.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 21 lines · Chad Sellers
Quoted 19 lines · Marshall Miller
Commit
b3b3f8186ed6d56c48c4e0f997d6e6b3fd90be37attempted to fix a bug, but didn't. The following patch should do it.Marshall Miller
---
sepolgen/src/sepolgen/access.py +1
-1@@ -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())
Quoted 7 lines
sepolgen/src/sepolgen/access.py class RoleTypeSet: · line 319
Quoted 3 lines
sepolgen/src/sepolgen/access.py +0
-0def add(self, role, type): if self.role_types.has_key(role):Looks fine.
Acked-by Chad Sellers <[email protected]>
Merged in sepolgen-1.0.17
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.