def _list_scopes(self, opts):
    (manifest, errors) = self.rest.get_manifest(opts.bucket)
    _exit_if_errors(errors)
    for scope in manifest['scopes']:
        print(scope['name'])
def _list_scopes(self, opts):
    (manifest, errors) = self.rest.get_manifest(opts.bucket)
    _exit_if_errors(errors)
    for scope in manifest['scopes']:
        print(scope['name'])