fix linting issue

This commit is contained in:
Noah Swartz 2016-01-08 02:47:59 -08:00
parent e7ae025a72
commit 287be6be8e
2 changed files with 3 additions and 3 deletions

View file

@ -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):

View file

@ -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)