Fixing A Few Hacking Violations
Change-Id: I31d49556ae83f453641009dc00b9ba38a0cca662
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
"""
|
||||
API handler for Cloudkeep's Barbican
|
||||
"""
|
||||
import pecan
|
||||
from webob import exc
|
||||
from oslo.config import cfg
|
||||
from pkgutil import simplegeneric
|
||||
import pecan
|
||||
import pkgutil
|
||||
from webob import exc
|
||||
|
||||
from barbican.common import exception
|
||||
from barbican.common import utils
|
||||
@@ -167,7 +167,7 @@ def generate_safe_exception_message(operation_name, excep):
|
||||
return status, message
|
||||
|
||||
|
||||
@simplegeneric
|
||||
@pkgutil.simplegeneric
|
||||
def get_items(obj):
|
||||
"""This is used to get items from either
|
||||
a list or a dictionary. While false
|
||||
|
||||
+2
-3
@@ -16,13 +16,12 @@
|
||||
# under the License.
|
||||
|
||||
from barbican.common import utils
|
||||
from barbican.openstack.common import policy
|
||||
from barbican.openstack.common import local
|
||||
from barbican.openstack.common import policy
|
||||
|
||||
|
||||
class RequestContext(object):
|
||||
"""
|
||||
Stores information about the security context under which the user
|
||||
"""Stores information about the security context under which the user
|
||||
accesses the system, as well as additional request information.
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user