Skip to content

Commit 36313a2

Browse files
committed
Remove TODO from datastore.entity.
1 parent bd6c09e commit 36313a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

gcloud/datastore/entity.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ def reload(self):
166166
# Note that you must have a valid key, otherwise this makes no sense.
167167
entity = self.dataset().get_entities(self.key().to_protobuf())
168168

169-
# TODO(jjg): Raise an error if something dumb happens.
170169
if entity:
171170
self.update(entity)
172171
return self
@@ -207,7 +206,6 @@ def delete(self):
207206
dataset_id=self.dataset().id(), key_pb=self.key().to_protobuf())
208207

209208
def __repr__(self):
210-
# TODO: Make sure that this makes sense.
211209
# An entity should have a key all the time (even if it's partial).
212210
if self.key():
213211
return '<Entity%s %s>' % (self.key().path(), super(Entity, self).__repr__())

0 commit comments

Comments
 (0)