Permalink
Browse files

Merge pull request #528 from jsabo/master

Fixing the create_snapshot() rtype and return value
  • Loading branch information...
2 parents 8c6dadd + 2d49252 commit 4ab8995b60dbb57d9318fe80896520af2d05760d Greg Taylor committed Jan 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 boto/ec2/volume.py
View
@@ -149,9 +149,9 @@ def create_snapshot(self, description=None):
:type description: str
:param description: A description of the snapshot. Limited to 256 characters.
-
- :rtype: bool
- :return: True if successful
+
+ :rtype: :class:`boto.ec2.snapshot.Snapshot`
+ :return: The created Snapshot object
"""
return self.connection.create_snapshot(self.id, description)

0 comments on commit 4ab8995

Please sign in to comment.