mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Apache augeas clean up (#9114)
The `# self.comment = comment` caught my eye while working on #9071 as well as the intermediate variables, which aren't really needed. As a result, I reformatted the code slightly in those places. * Remove comment in AugeasCommentNode.__init__ * Replace some intermediate varibles with return-statements in apache augeas parser. * more clean-up
This commit is contained in:
@@ -176,7 +176,6 @@ class VirtualHost:
|
||||
names=", ".join(self.get_names()),
|
||||
https="Yes" if self.ssl else "No"))
|
||||
|
||||
|
||||
def __eq__(self, other):
|
||||
if isinstance(other, self.__class__):
|
||||
return (self.filep == other.filep and self.path == other.path and
|
||||
|
||||
Reference in New Issue
Block a user