Fixed some more PEP8 errors
This commit is contained in:
parent
f6ecdf96d4
commit
e9184b42aa
@ -240,6 +240,7 @@ class ClusterController(object):
|
||||
|
||||
raise exc.HTTPInternalServerError(_('Failed deleting cluster.'))
|
||||
|
||||
|
||||
def create_resource(options):
|
||||
'''Clusters resource factory method.'''
|
||||
|
||||
|
@ -54,7 +54,7 @@ class SenlinTrust(object):
|
||||
|
||||
|
||||
def get_trust(context, trust_id):
|
||||
'''Get trust detail information'''
|
||||
'''Get trust detail information.'''
|
||||
conn = sdk.create_connection(context)
|
||||
session = conn.session
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
from oslo_log import log as logging
|
||||
|
||||
from senlin.common import exception
|
||||
from senlin.common.i18n import _
|
||||
from senlin.common.i18n import _LE
|
||||
from senlin.engine.actions import base
|
||||
from senlin.engine import node as node_mod
|
||||
|
@ -26,7 +26,6 @@ import oslo_messaging
|
||||
|
||||
from senlin.common import consts
|
||||
from senlin.common import messaging as rpc_messaging
|
||||
from senlin.db import api as db_api
|
||||
from senlin.openstack.common import periodic_task
|
||||
from senlin.openstack.common import service
|
||||
|
||||
|
@ -93,7 +93,8 @@ class EngineClient(object):
|
||||
def profile_create(self, ctxt, name, type, spec, perm, tags):
|
||||
return self.call(ctxt,
|
||||
self.make_msg('profile_create', name=name,
|
||||
type=type, spec=spec, perm=perm, tags=tags))
|
||||
type=type, spec=spec, perm=perm,
|
||||
tags=tags))
|
||||
|
||||
def profile_get(self, ctxt, identity):
|
||||
return self.call(ctxt,
|
||||
|
Loading…
Reference in New Issue
Block a user