From cd5016019125d704d74ddf6d46339d122943f0be Mon Sep 17 00:00:00 2001 From: Ngo Quoc Cuong Date: Thu, 4 May 2017 13:35:42 +0700 Subject: [PATCH] Trivial fix typo and PEP 8 coding style violation telemtry -> telemetry PEP 8: line too long (81 > 79 characters) Change-Id: I2f70f64a3a2cbf35e4a5250e1099f176670cb31f --- swift/cli/recon.py | 2 +- swift/container/backend.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/swift/cli/recon.py b/swift/cli/recon.py index 5b65b95204..202e449535 100644 --- a/swift/cli/recon.py +++ b/swift/cli/recon.py @@ -75,7 +75,7 @@ class Scout(object): def scout_host(self, base_url, recon_type): """ - Perform the actual HTTP request to obtain swift recon telemtry. + Perform the actual HTTP request to obtain swift recon telemetry. :param base_url: the base url of the host you wish to check. str of the format 'http://127.0.0.1:6200/recon/' diff --git a/swift/container/backend.py b/swift/container/backend.py index e98f9e0e67..77444b1fc6 100644 --- a/swift/container/backend.py +++ b/swift/container/backend.py @@ -25,8 +25,8 @@ import six.moves.cPickle as pickle from six.moves import range import sqlite3 -from swift.common.utils import Timestamp, encode_timestamps, decode_timestamps, \ - extract_swift_bytes +from swift.common.utils import Timestamp, encode_timestamps, \ + decode_timestamps, extract_swift_bytes from swift.common.db import DatabaseBroker, utf8encode