Empty format field not allowed in python 2.6

This commit is contained in:
yan 2015-04-16 17:51:45 -07:00
parent 03e5f3c6c6
commit 1505f5e7bc

View file

@ -290,7 +290,7 @@ class NginxConfigurator(object):
self.choose_vhost(domain), options)
except (KeyError, ValueError):
raise errors.LetsEncryptConfiguratorError(
"Unsupported enhancement: {}".format(enhancement))
"Unsupported enhancement: {0}".format(enhancement))
except errors.LetsEncryptConfiguratorError:
logging.warn("Failed %s for %s", enhancement, domain)