py26 compat

This commit is contained in:
James Kasten
2015-07-30 01:49:04 -07:00
parent 47be104e2b
commit b37fc95386
@@ -678,7 +678,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
self.choose_vhost(domain), options)
except KeyError:
raise errors.PluginError(
"Unsupported enhancement: {}".format(enhancement))
"Unsupported enhancement: {0}".format(enhancement))
except errors.PluginError:
logger.warn("Failed %s for %s", enhancement, domain)
raise