summaryrefslogtreecommitdiff
path: root/openstackclient/common
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-02-26 01:59:47 +0000
committerGerrit Code Review <review@openstack.org>2016-02-26 01:59:47 +0000
commit277c16c8b74efc258c02b73ffff1c6d4fb616d0f (patch)
treee9c3a5e1ce0d88d533cc3f085db41b98ca45305a /openstackclient/common
parentfbc03104f66a80e1d7f3c7880d7db82587a7ab6c (diff)
parent3d7a26bdec7b3a41090b6b092025ab5cd8f87b24 (diff)
downloadpython-openstackclient-277c16c8b74efc258c02b73ffff1c6d4fb616d0f.tar.gz
Merge "Defaults are ignored with flake8"
Diffstat (limited to 'openstackclient/common')
-rw-r--r--openstackclient/common/timing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/common/timing.py b/openstackclient/common/timing.py
index 5f628759..71c2fec7 100644
--- a/openstackclient/common/timing.py
+++ b/openstackclient/common/timing.py
@@ -30,7 +30,8 @@ class Timing(command.Lister):
for url, td in self.app.timing_data:
# NOTE(dtroyer): Take the long way here because total_seconds()
# was added in py27.
- sec = (td.microseconds + (td.seconds + td.days*86400) * 1e6) / 1e6
+ sec = (td.microseconds + (td.seconds + td.days *
+ 86400) * 1e6) / 1e6
total += sec
results.append((url, sec))
results.append(('Total', total))