GoogleCloudPlatform/gcloud-python — pull request #291 by dhermes (2014-10-23 21:53:40+00:00)
Title: Only using 'id' OR 'name' from pb path in datastore.Entity.save.

This was introduced in #289 and discovered while rebasing those
changes into #281.

The datastore backend fails if both 'id' and 'name' are set on
a key, so this only copies the parts of the saved pb key that
are actually set.

@tseaver Please give this a look. #289 actually broke `datastore` when saving keys with no `id`/`name` set.