PEP 8 indent cleanup. (#20800)

* PEP 8 E121 cleanup.

* PEP 8 E126 cleanup.

* PEP 8 E122 cleanup.
This commit is contained in:
Matt Clay 2017-01-28 23:28:53 -08:00 committed by John R Barker
commit 10d9318de7
244 changed files with 2873 additions and 2973 deletions

View file

@ -167,9 +167,9 @@ class CallbackModule_dense(CallbackModule_default):
# Attributes to remove from results for more density
self.removed_attributes = (
# 'changed',
# 'changed',
'delta',
# 'diff',
# 'diff',
'end',
'failed',
'failed_when_result',

View file

@ -63,8 +63,8 @@ class CallbackModule(CallbackBase):
"/etc/foreman/client_key.pem"))
FOREMAN_SSL_VERIFY = os.getenv('FOREMAN_SSL_VERIFY', "1")
FOREMAN_HEADERS = {
"Content-Type": "application/json",
"Accept": "application/json"
"Content-Type": "application/json",
"Accept": "application/json"
}
TIME_FORMAT = "%Y-%m-%d %H:%M:%S %f"
@ -155,7 +155,7 @@ class CallbackModule(CallbackBase):
"status": status,
"logs": log,
}
}
}
# To be changed to /api/v2/config_reports in 1.11. Maybe we
# could make a GET request to get the Foreman version & do
# this automatically.

View file

@ -226,7 +226,7 @@ class CallbackModule(CallbackBase):
color = 'ok'
msg = '{} : ok={}\tchanged={}\tfailed={}\tunreachable={}'.format(
host, s['ok'], s['changed'], s['failures'], s['unreachable'])
host, s['ok'], s['changed'], s['failures'], s['unreachable'])
print(colorize(msg, color))
def v2_runner_on_skipped(self, result, **kwargs):