From b4bcd1d9230b469bc19af5a12ccf1524f7de694b Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Wed, 27 Apr 2011 14:06:51 -0700 Subject: pep8-ize --- echo/echo/echo.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'echo') diff --git a/echo/echo/echo.py b/echo/echo/echo.py index b0fd9c7b..c73e79b8 100644 --- a/echo/echo/echo.py +++ b/echo/echo/echo.py @@ -72,10 +72,10 @@ class EchoApp(object): def toDOM(self, environ): echo = etree.Element("{http://docs.openstack.org/echo/api/v1.0}echo", - method= environ["REQUEST_METHOD"], - pathInfo= environ["PATH_INFO"], - queryString= environ.get('QUERY_STRING', ""), - caller_identity= self.envr['HTTP_X_AUTHORIZATION']) + method=environ["REQUEST_METHOD"], + pathInfo=environ["PATH_INFO"], + queryString=environ.get('QUERY_STRING', ""), + caller_identity=self.envr['HTTP_X_AUTHORIZATION']) content = etree.Element( "{http://docs.openstack.org/echo/api/v1.0}content") content.set("type", environ["CONTENT_TYPE"]) @@ -106,7 +106,8 @@ if __name__ == "__main__": wsgi.server(eventlet.listen(('', 8100)), app) else: - print "Running all components locally. Use --remote option to run with remote auth proxy" + print "Running all components locally." + print "Use --remote option to run with remote auth proxy" app = loadapp("config:" + \ os.path.join(os.path.abspath(os.path.dirname(__file__)), "echo.ini"), global_conf={"log_name": "echo.log"}) -- cgit