Merge "extensions: remove 'check_env' method"

This commit is contained in:
Jenkins 2014-06-10 23:05:34 +00:00 committed by Gerrit Code Review
commit c5169571bd
1 changed files with 0 additions and 6 deletions

View File

@ -518,12 +518,6 @@ class ExtensionManager(object):
except AttributeError as ex:
LOG.exception(_("Exception loading extension: %s"), unicode(ex))
return False
if hasattr(extension, 'check_env'):
try:
extension.check_env()
except exceptions.InvalidExtensionEnv as ex:
LOG.warn(_("Exception loading extension: %s"), unicode(ex))
return False
return True
def _load_all_extensions(self):