Skip to content

Commit e47ccc1

Browse files
committed
coding style revised
1 parent 1806341 commit e47ccc1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

gcloud/datastore/dataset.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,12 @@ def get_entity(self, key_or_path):
112112
"""Retrieves entity from the dataset, along with its attributes.
113113
114114
:type key_or_path: :class:`gcloud.datastore.key.Key` or path
115-
:param key_or_path: The name of the item to retrieve or sequence of
116-
even length, where the first of each pair is a
117-
string representing the 'kind' of the path element,
118-
and the second of the pair is either a string (for
119-
the path element's name) or an integer (for its id).
115+
:param key_or_path: The name of the item to retrieve or sequence
116+
of even length, where the first of each pair
117+
is a string representing the 'kind' of the
118+
path element, and the second of the pair is
119+
either a string (for the path element's name)
120+
or an integer (for its id).
120121
121122
:rtype: :class:`gcloud.datastore.entity.Entity` or ``None``
122123
:return: The requested entity, or ``None`` if there was no match found.

gcloud/datastore/test_dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def test_get_entity_path(self):
151151
self.assertEqual(list(result), ['foo'])
152152
self.assertEqual(result['foo'], 'Foo')
153153

154+
154155
class _Connection(object):
155156
_called_with = None
156157

0 commit comments

Comments
 (0)