Fix visual indentation for PEP8 conformance.

Corrects misindented continuations (PEP8 E127, E128).

The run_tests.sh script's PEP8 pass (with current 1.3.3) was
reporting under- or over-indented visual continuations in a handful
of files, all of which are fixed with this trivial patch.

Change-Id: I19388dc0011546abe65b37d31df02debb3676003
This commit is contained in:
Jeremy Stanley 2012-08-14 05:20:08 +00:00
parent 45e7e1f2f5
commit 853b69e6c4
3 changed files with 8 additions and 6 deletions

View File

@ -140,7 +140,8 @@ def notify(context, publisher_id, event_type, priority, payload):
driver.notify(context, msg)
except Exception, e:
LOG.exception(_("Problem '%(e)s' attempting to "
"send to notification system. Payload=%(payload)s") %
"send to notification system. "
"Payload=%(payload)s") %
locals())

View File

@ -122,5 +122,6 @@ def marshall_now(now=None):
def unmarshall_time(tyme):
"""Unmarshall a datetime dict."""
return datetime.datetime(day=tyme['day'], month=tyme['month'],
year=tyme['year'], hour=tyme['hour'], minute=tyme['minute'],
second=tyme['second'], microsecond=tyme['microsecond'])
year=tyme['year'], hour=tyme['hour'],
minute=tyme['minute'], second=tyme['second'],
microsecond=tyme['microsecond'])