Fixing A Few Hacking Violations

Change-Id: I31d49556ae83f453641009dc00b9ba38a0cca662
This commit is contained in:
Kevin Bishop
2014-05-28 16:33:07 -05:00
parent 03c3c8d9d1
commit 0241695303
2 changed files with 6 additions and 7 deletions
+4 -4
View File
@@ -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
View File
@@ -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.
"""