Skip to content

Commit

Permalink
Style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjoes committed Jan 30, 2011
1 parent d548485 commit 1c45779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tornadio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:license: Apache, see LICENSE for more details.
"""

version_info = (0,0,2)
version_info = (0, 0, 2)
version = '%d.%d.%d' % version_info

from tornadio.conn import SocketConnection
Expand Down
4 changes: 2 additions & 2 deletions tornadio/persistent.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, handler, session_id):
# https://github.com/facebook/tornado/commit/86bd681ff841f272c5205f24cd2a613535ed2e00
def _execute(self, transforms, *args, **kwargs):
# Next Tornado will have the built-in support for HAProxy
if tornado.version_info <= (1,1,0):
if tornado.version_info <= (1, 1, 0):
# Write the initial headers before attempting to read the challenge.
# This is necessary when using proxies (such as HAProxy),
# need to see the Upgrade headers before passing through the
Expand All @@ -53,7 +53,7 @@ def _execute(self, transforms, *args, **kwargs):


def _write_response(self, challenge):
if tornado.version_info <= (1,1,0):
if tornado.version_info <= (1, 1, 0):
self.stream.write("%s" % challenge)
self.async_callback(self.open)(*self.open_args, **self.open_kwargs)
self._receive_message()
Expand Down

0 comments on commit 1c45779

Please sign in to comment.