summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/cert.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-02-12 17:18:54 -0700
committerRob Crittenden <rcritten@redhat.com>2009-02-17 16:03:10 -0500
commit7e23ee7cc625d54469e184541537b3f803b6307a (patch)
tree63bb09d7fe6efe0d65204133cc602064780e690b /ipalib/plugins/cert.py
parent4ab133c3cb8fa9a9aff2b7e5d1c53a0feb164f3f (diff)
downloadfreeipa-7e23ee7cc625d54469e184541537b3f803b6307a.tar.gz
freeipa-7e23ee7cc625d54469e184541537b3f803b6307a.tar.xz
freeipa-7e23ee7cc625d54469e184541537b3f803b6307a.zip
Removed 'Assert False' that was mistakingly left in cert.py; small cleanup in cert.py and ra.py imports
Diffstat (limited to 'ipalib/plugins/cert.py')
-rw-r--r--ipalib/plugins/cert.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py
index 96e2667bc..2ccc43a7a 100644
--- a/ipalib/plugins/cert.py
+++ b/ipalib/plugins/cert.py
@@ -23,13 +23,11 @@ Command plugins for IPA-RA certificate operations.
"""
from ipalib import api, SkipPluginModule
-
if api.env.enable_ra is not True:
- raise SkipPluginModule(reason='env.enable_ra=%r' % (api.env.enable_ra,))
-
+ # In this case, abort loading this plugin module...
+ raise SkipPluginModule(reason='env.enable_ra is not True')
from ipalib import Command, Str, Int
-assert False
class cert_request(Command):
"""