From 7e23ee7cc625d54469e184541537b3f803b6307a Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 12 Feb 2009 17:18:54 -0700 Subject: Removed 'Assert False' that was mistakingly left in cert.py; small cleanup in cert.py and ra.py imports --- ipalib/plugins/cert.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ipalib/plugins/cert.py') diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py index 96e2667b..2ccc43a7 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): """ -- cgit