summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/SELinux.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-06-27 10:35:22 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-06-27 10:42:24 -0400
commit9f85b41f12bdc5f25d64b91a6c0413949c9c730e (patch)
tree89621a8edb804c32dbd54edec372686211c61458 /src/lib/Bcfg2/Client/Tools/SELinux.py
parent3261f7cf5314a76b85884942d077146fe8f8fc24 (diff)
downloadbcfg2-9f85b41f12bdc5f25d64b91a6c0413949c9c730e.tar.gz
bcfg2-9f85b41f12bdc5f25d64b91a6c0413949c9c730e.tar.bz2
bcfg2-9f85b41f12bdc5f25d64b91a6c0413949c9c730e.zip
Options: migrated client drivers to new parser
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/SELinux.py')
-rw-r--r--src/lib/Bcfg2/Client/Tools/SELinux.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/SELinux.py b/src/lib/Bcfg2/Client/Tools/SELinux.py
index 92572ef1d..ef89ef46d 100644
--- a/src/lib/Bcfg2/Client/Tools/SELinux.py
+++ b/src/lib/Bcfg2/Client/Tools/SELinux.py
@@ -141,7 +141,7 @@ class SELinux(Bcfg2.Client.Tools.Tool):
def GenericSEVerify(self, entry, _):
"""Dispatch verify to the proper method according to entry tag"""
rv = self.handlers[entry.tag].Verify(entry)
- if entry.get('qtext') and self.setup['interactive']:
+ if entry.get('qtext') and Bcfg2.Options.setup.interactive:
entry.set('qtext',
'%s\nInstall %s: (y/N) ' %
(entry.get('qtext'),
@@ -174,7 +174,6 @@ class SELinuxEntryHandler(object):
def __init__(self, tool, config):
self.tool = tool
self.logger = logging.getLogger(self.__class__.__name__)
- self.setup = tool.setup
self.config = config
self._records = None
self._all = None