diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-02-26 01:59:47 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-02-26 01:59:47 +0000 |
| commit | 277c16c8b74efc258c02b73ffff1c6d4fb616d0f (patch) | |
| tree | e9c3a5e1ce0d88d533cc3f085db41b98ca45305a /openstackclient/common | |
| parent | fbc03104f66a80e1d7f3c7880d7db82587a7ab6c (diff) | |
| parent | 3d7a26bdec7b3a41090b6b092025ab5cd8f87b24 (diff) | |
| download | python-openstackclient-277c16c8b74efc258c02b73ffff1c6d4fb616d0f.tar.gz | |
Merge "Defaults are ignored with flake8"
Diffstat (limited to 'openstackclient/common')
| -rw-r--r-- | openstackclient/common/timing.py | 3 |
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)) |
