Skip to content

Commit

Permalink
Note source of exception.
Browse files Browse the repository at this point in the history
Incorporates feedback from @dhermes.
  • Loading branch information
tseaver committed Nov 3, 2014
1 parent 9cc2052 commit 7441438
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gcloud/storage/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ def delete(self):
:rtype: :class:`Key`
:returns: The key that was just deleted.
:raises: :class:`gcloud.storage.exceptions.NotFoundError`.
:raises: :class:`gcloud.storage.exceptions.NotFoundError`
(propagated from
:meth:`gcloud.storage.bucket.Bucket.delete_key`).
"""
return self.bucket.delete_key(self)

Expand Down

0 comments on commit 7441438

Please sign in to comment.