~ubuntu-branches/ubuntu/raring/cinder/raring-updates

« back to all changes in this revision

Viewing changes to cinder/api/contrib/extended_snapshot_attributes.py

  • Committer: Package Import Robot
  • Author(s): Chris J Arges
  • Date: 2013-01-15 10:10:28 UTC
  • mfrom: (7.1.1 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130115101028-i1jf2lyewii1xf2e
Tags: 2013.1~g2-0ubuntu2
debian/patches/series: Enable skip_failed_tests to fix FTBFS. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
FLAGS = flags.FLAGS
29
29
LOG = logging.getLogger(__name__)
30
 
authorize = extensions.soft_extension_authorizer('volume',
31
 
                                                'extended_snapshot_attributes')
 
30
authorize = extensions.soft_extension_authorizer(
 
31
    'volume',
 
32
    'extended_snapshot_attributes')
32
33
 
33
34
 
34
35
class ExtendedSnapshotAttributesController(wsgi.Controller):
35
36
    def __init__(self, *args, **kwargs):
36
37
        super(ExtendedSnapshotAttributesController, self).__init__(*args,
37
 
                                                                 **kwargs)
 
38
                                                                   **kwargs)
38
39
        self.volume_api = volume.API()
39
40
 
40
41
    def _get_snapshots(self, context):