Skip to content

Commit

Permalink
Remove docstring that is already in parent class
Browse files Browse the repository at this point in the history
  • Loading branch information
Allard Hoeve committed Feb 18, 2015
1 parent d5bc891 commit 6dfa72e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libcloud/compute/drivers/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2408,12 +2408,6 @@ def create_volume_snapshot(self, volume, name=None):
return snapshot

def list_volume_snapshots(self, volume):
"""List all VolumeSnapshot objects for the given StorageVolume
:param volume: the StorageVolume to filter on
:return: a list of all VolumeSnapshots for the given StorageVolume
:rtype: [VolumeSnapshot]
"""
return [snapshot for snapshot in self.list_snapshots(owner='self')
if snapshot.extra["volume_id"] == volume.id]

Expand Down

0 comments on commit 6dfa72e

Please sign in to comment.