PEP 8 W291 whitespace cleanup.

This commit is contained in:
Matt Clay
2017-01-27 15:20:31 -08:00
parent 95789f3949
commit d913f69ba1
166 changed files with 493 additions and 565 deletions

View File

@@ -1,4 +1,4 @@
# (C) 2016, Joel, http://github.com/jjshoe
# (C) 2016, Joel, http://github.com/jjshoe
# (C) 2015, Tom Paine, <github@aioue.net>
# (C) 2014, Jharrod LaFon, @JharrodLaFon
# (C) 2012-2013, Michael DeHaan, <michael.dehaan@gmail.com>
@@ -87,7 +87,7 @@ class CallbackModule(CallbackBase):
if self.task_output_limit == 'all':
self.task_output_limit = None
else:
self.task_output_limit = int(self.task_output_limit)
self.task_output_limit = int(self.task_output_limit)
super(CallbackModule, self).__init__()
@@ -119,7 +119,7 @@ class CallbackModule(CallbackBase):
timestamp(self)
results = self.stats.items()
results = self.stats.items()
# Sort the tasks by the specified sort
if self.sort_order != 'none':
@@ -129,7 +129,7 @@ class CallbackModule(CallbackBase):
reverse=self.sort_order,
)
# Display the number of tasks specified or the default of 20
# Display the number of tasks specified or the default of 20
results = results[:self.task_output_limit]
# Print the timings

View File

@@ -38,7 +38,7 @@ class CallbackModule(CallbackBase):
self.handler = logging.handlers.SysLogHandler(
address = (os.getenv('SYSLOG_SERVER','localhost'),
os.getenv('SYSLOG_PORT',514)),
os.getenv('SYSLOG_PORT',514)),
facility= os.getenv('SYSLOG_FACILITY',logging.handlers.SysLogHandler.LOG_USER)
)
self.logger.addHandler(self.handler)