Removed 'Assert False' that was mistakingly left in cert.py; small cleanup in cert.py and ra.py imports

This commit is contained in:
Jason Gerard DeRose
2009-02-12 17:18:54 -07:00
committed by Rob Crittenden
parent 4ab133c3cb
commit 7e23ee7cc6
2 changed files with 4 additions and 8 deletions

View File

@@ -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):
"""