diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-02-12 17:18:54 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-17 16:03:10 -0500 |
commit | 7e23ee7cc625d54469e184541537b3f803b6307a (patch) | |
tree | 63bb09d7fe6efe0d65204133cc602064780e690b /ipalib | |
parent | 4ab133c3cb8fa9a9aff2b7e5d1c53a0feb164f3f (diff) | |
download | freeipa-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')
-rw-r--r-- | ipalib/plugins/cert.py | 6 |
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): """ |