mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
fix linting issue
This commit is contained in:
@@ -1302,7 +1302,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
self.config_test()
|
self.config_test()
|
||||||
logger.debug(self.reverter.view_config_changes(logging=True))
|
logger.debug(self.reverter.view_config_changes(for_logging=True))
|
||||||
self._reload()
|
self._reload()
|
||||||
|
|
||||||
def _reload(self):
|
def _reload(self):
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ class Reverter(object):
|
|||||||
"Unable to load checkpoint during rollback")
|
"Unable to load checkpoint during rollback")
|
||||||
rollback -= 1
|
rollback -= 1
|
||||||
|
|
||||||
def view_config_changes(self, logging=False):
|
def view_config_changes(self, for_logging=False):
|
||||||
"""Displays all saved checkpoints.
|
"""Displays all saved checkpoints.
|
||||||
|
|
||||||
All checkpoints are printed by
|
All checkpoints are printed by
|
||||||
@@ -144,7 +144,7 @@ class Reverter(object):
|
|||||||
|
|
||||||
output.append(os.linesep)
|
output.append(os.linesep)
|
||||||
|
|
||||||
if logging:
|
if for_logging:
|
||||||
return os.linesep.join(output)
|
return os.linesep.join(output)
|
||||||
zope.component.getUtility(interfaces.IDisplay).notification(
|
zope.component.getUtility(interfaces.IDisplay).notification(
|
||||||
os.linesep.join(output), display_util.HEIGHT)
|
os.linesep.join(output), display_util.HEIGHT)
|
||||||
|
|||||||
Reference in New Issue
Block a user