Permalink
Browse files

Fixing the create_snapshot() rtype and return value

  • Loading branch information...
1 parent 8c6dadd commit 2d492527fe14dd6951a8f490549f3a64f4dcbdd2 Jonathan Sabo committed Jan 28, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 boto/ec2/volume.py
View
6 boto/ec2/volume.py
@@ -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 2d49252

Please sign in to comment.