Skip to content

Commit 92d4e3e

Browse files
committed
Fixing lint errors.
1 parent 1130f48 commit 92d4e3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gcloud/translate/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ def detect_language(self, *values):
105105
:raises: :class:`ValueError <exceptions.ValueError>` if the number of
106106
detections is not equal to the number of values.
107107
:class:`ValueError <exceptions.ValueError>` if a value
108-
produces a list of detections with 0 or multiple results in it.
108+
produces a list of detections with 0 or multiple results
109+
in it.
109110
"""
110111
query_params = [('key', self.key)]
111112
query_params.extend(('q', _to_bytes(value, 'utf-8'))

gcloud/translate/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def test_detect_language_multiple_results(self):
235235
'detections': [[detection1, detection2]],
236236
},
237237
}
238-
conn = client.connection = _Connection(data)
238+
client.connection = _Connection(data)
239239

240240
with self.assertRaises(ValueError):
241241
client.detect_language(value)

0 commit comments

Comments
 (0)