diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-02 15:41:55 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-12-03 13:14:43 -0500 |
commit | f11637c8d8ec9370a14284966be2f97de385b466 (patch) | |
tree | 10ba1bb25bc2230c78f62f100947f13bde45cfe3 /security.py | |
parent | 9581135046aa223a9374b3d0fd19eba3d46051b3 (diff) | |
download | anaconda-f11637c8d8ec9370a14284966be2f97de385b466.tar.gz anaconda-f11637c8d8ec9370a14284966be2f97de385b466.tar.xz anaconda-f11637c8d8ec9370a14284966be2f97de385b466.zip |
Remove test mode.
This is yet another way of running anaconda that gets extremely limited use,
no testing, and no consideration during development to making sure it still
works. Again, we need to stop pretending and get rid of modes that we don't
support.
Diffstat (limited to 'security.py')
-rw-r--r-- | security.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/security.py b/security.py index bd5c9da32..5e5928e1b 100644 --- a/security.py +++ b/security.py @@ -64,12 +64,9 @@ class Security: args = args + [ "--selinux=%s" %(selinux_states[self.selinux],) ] try: - if not flags.test: - iutil.execWithRedirect("/usr/sbin/lokkit", args, - root = instPath, stdout = "/dev/null", - stderr = "/dev/null") - else: - log.info("would have run %s" %(args,)) + iutil.execWithRedirect("/usr/sbin/lokkit", args, + root = instPath, stdout = "/dev/null", + stderr = "/dev/null") except RuntimeError, msg: log.error ("lokkit run failed: %s" %(msg,)) except OSError as e: |