Address review comments

This commit is contained in:
Peter Eckersley
2016-06-29 13:57:58 -07:00
parent e93ace79cc
commit 7b50960ac0
2 changed files with 4 additions and 4 deletions
@@ -328,7 +328,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
if vhost is None:
logger.error(
"No vhost exists with servername or alias of: %s "
"(or it's in a file with multiple files, which Certbot "
"(or it's in a file with multiple vhosts, which Certbot "
"can't parse yet). "
"No vhost was selected. Please specify ServerName or ServerAlias "
"in the Apache config, or split vhosts into separate files.",
+3 -3
View File
@@ -19,12 +19,12 @@ class Addr(common.Addr):
self.is_wildcard() and other.is_wildcard()))
return False
def __repr__(self):
return "certbot_apache.obj.Addr(" + repr(self.tup) + ")"
def __ne__(self, other):
return not self.__eq__(other)
def __repr__(self):
return "certbot_apache.obj.Addr(" + repr(self.tup) + ")"
def _addr_less_specific(self, addr):
"""Returns if addr.get_addr() is more specific than self.get_addr()."""
# pylint: disable=protected-access