Merge "Unsupported module driver not logged correctly"

This commit is contained in:
Jenkins 2016-05-25 19:14:09 +00:00 committed by Gerrit Code Review
commit 80bcf8b227
2 changed files with 5 additions and 1 deletions

@ -0,0 +1,4 @@
---
fixes:
- An invalid module driver is now logged correctly.
Bug 1579900

@ -69,7 +69,7 @@ class ModuleDriverManager(object):
supported = True
else:
LOG.info(_("Driver '%s' not supported, skipping"),
driver.get_type)
driver.get_type())
except AttributeError as ex:
LOG.exception(_("Exception loading module driver: %s"),
encodeutils.exception_to_unicode(ex))