diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2012-06-18 14:16:34 -0500 |
---|---|---|
committer | Dolph Mathews <dolph.mathews@gmail.com> | 2012-06-18 14:16:34 -0500 |
commit | 66a0b63dabffe4cb1d239be3ab68885e2f49f513 (patch) | |
tree | e88876f5dcfe6a6becfa5238d741a8279fc254c9 /keystone/common/wsgi.py | |
parent | e33a4742a80a3535e071a17ce39815d29a95ca61 (diff) | |
download | keystone-66a0b63dabffe4cb1d239be3ab68885e2f49f513.tar.gz keystone-66a0b63dabffe4cb1d239be3ab68885e2f49f513.tar.xz keystone-66a0b63dabffe4cb1d239be3ab68885e2f49f513.zip |
PEP8 fixes
Change-Id: I0989396691eb31d9008c016e64f2c197f8c7e48c
Diffstat (limited to 'keystone/common/wsgi.py')
-rw-r--r-- | keystone/common/wsgi.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keystone/common/wsgi.py b/keystone/common/wsgi.py index a70e0c42..5bd958ca 100644 --- a/keystone/common/wsgi.py +++ b/keystone/common/wsgi.py @@ -65,9 +65,9 @@ class Server(object): def start(self, key=None, backlog=128): """Run a WSGI server with the given application.""" LOG.debug('Starting %(arg0)s on %(host)s:%(port)s' % - {'arg0': sys.argv[0], - 'host': self.host, - 'port': self.port}) + {'arg0': sys.argv[0], + 'host': self.host, + 'port': self.port}) socket = eventlet.listen((self.host, self.port), backlog=backlog) if key: self.socket_info[key] = socket.getsockname() @@ -87,7 +87,7 @@ class Server(object): self.greenthread = self.pool.spawn(self._run, self.application, socket) def set_ssl(self, certfile, keyfile=None, ca_certs=None, - cert_required=True): + cert_required=True): self.certfile = certfile self.keyfile = keyfile self.ca_certs = ca_certs @@ -231,7 +231,7 @@ class Application(BaseApplication): if not context['is_admin']: try: user_token_ref = self.token_api.get_token( - context=context, token_id=context['token_id']) + context=context, token_id=context['token_id']) except exception.TokenNotFound: raise exception.Unauthorized() |