diff options
author | Nathaniel Manista <nathaniel@google.com> | 2017-02-15 22:09:16 +0000 |
---|---|---|
committer | Nathaniel Manista <nathaniel@google.com> | 2017-02-15 22:09:16 +0000 |
commit | 3577f63136e1f1d6e26a00176a0cff6d9b2d9934 (patch) | |
tree | b3ee19ed96eb4cbb76f02662c1f035e54add0da8 /src/python/grpcio | |
parent | 4ead91a9145f6a255c4f72324254bac8b4d4f45b (diff) |
Fix and enable logging-format-interpolation lint
Diffstat (limited to 'src/python/grpcio')
-rw-r--r-- | src/python/grpcio/grpc/_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/_common.py b/src/python/grpcio/grpc/_common.py index a5f1f38ea9..dd74ba3ab6 100644 --- a/src/python/grpcio/grpc/_common.py +++ b/src/python/grpcio/grpc/_common.py @@ -92,7 +92,7 @@ def decode(b): try: return b.decode('utf8') except UnicodeDecodeError: - logging.exception('Invalid encoding on {}'.format(b)) + logging.exception('Invalid encoding on %s', b) return b.decode('latin1') |