mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
fix linting issue
This commit is contained in:
parent
e7ae025a72
commit
287be6be8e
2 changed files with 3 additions and 3 deletions
|
|
@ -1302,7 +1302,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
|
||||
"""
|
||||
self.config_test()
|
||||
logger.debug(self.reverter.view_config_changes(logging=True))
|
||||
logger.debug(self.reverter.view_config_changes(for_logging=True))
|
||||
self._reload()
|
||||
|
||||
def _reload(self):
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ class Reverter(object):
|
|||
"Unable to load checkpoint during rollback")
|
||||
rollback -= 1
|
||||
|
||||
def view_config_changes(self, logging=False):
|
||||
def view_config_changes(self, for_logging=False):
|
||||
"""Displays all saved checkpoints.
|
||||
|
||||
All checkpoints are printed by
|
||||
|
|
@ -144,7 +144,7 @@ class Reverter(object):
|
|||
|
||||
output.append(os.linesep)
|
||||
|
||||
if logging:
|
||||
if for_logging:
|
||||
return os.linesep.join(output)
|
||||
zope.component.getUtility(interfaces.IDisplay).notification(
|
||||
os.linesep.join(output), display_util.HEIGHT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue