Collated PEP8 fixes (#25293)

- Make PEP8 compliant
This commit is contained in:
Dag Wieers 2017-06-02 13:14:11 +02:00 committed by John R Barker
parent 2f33c1a1a1
commit 5553b20828
206 changed files with 1853 additions and 1870 deletions

View file

@ -32,11 +32,11 @@ from ansible.plugins.callback import CallbackBase
def mail(subject='Ansible error mail', sender=None, to=None, cc=None, bcc=None, body=None, smtphost=None):
if sender is None:
sender='<root>'
sender = '<root>'
if to is None:
to='root'
to = 'root'
if smtphost is None:
smtphost=os.getenv('SMTPHOST', 'localhost')
smtphost = os.getenv('SMTPHOST', 'localhost')
if body is None:
body = subject