Skip to content

Commit

Permalink
Remove TODO from datastore.entity.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Sep 22, 2014
1 parent bd6c09e commit 36313a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gcloud/datastore/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def reload(self):
# Note that you must have a valid key, otherwise this makes no sense.
entity = self.dataset().get_entities(self.key().to_protobuf())

# TODO(jjg): Raise an error if something dumb happens.
if entity:
self.update(entity)
return self
Expand Down Expand Up @@ -207,7 +206,6 @@ def delete(self):
dataset_id=self.dataset().id(), key_pb=self.key().to_protobuf())

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

0 comments on commit 36313a2

Please sign in to comment.