diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-02-18 13:56:07 -0600 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-02-18 13:56:07 -0600 |
commit | 4fdb9f8e0bc6817b14d96a617efe181c94802f9e (patch) | |
tree | e0d2951b6780a44540a1cdbacbf536db548c0231 /src/lib/Bcfg2/Client/Tools/SELinux.py | |
parent | c4e632c2689b386dd547aa6169e9daf783af1afd (diff) | |
download | bcfg2-4fdb9f8e0bc6817b14d96a617efe181c94802f9e.tar.gz bcfg2-4fdb9f8e0bc6817b14d96a617efe181c94802f9e.tar.bz2 bcfg2-4fdb9f8e0bc6817b14d96a617efe181c94802f9e.zip |
SELinux: Fix resolution of extra entries
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/SELinux.py')
-rw-r--r-- | src/lib/Bcfg2/Client/Tools/SELinux.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/SELinux.py b/src/lib/Bcfg2/Client/Tools/SELinux.py index 414ca1f93..f2b868316 100644 --- a/src/lib/Bcfg2/Client/Tools/SELinux.py +++ b/src/lib/Bcfg2/Client/Tools/SELinux.py @@ -361,7 +361,7 @@ class SELinuxEntryHandler(object): """ find extra entries of this entry type """ specified = [self._key(e) for e in self.tool.getSupportedEntries() - if e.get("type") == self.etype] + if e.tag == "SE%s" % self.etype.title()] try: records = self.custom_records except ValueError: |