Browse files

typos

  • Loading branch information...
1 parent 570b954 commit 77167a92e898e52cfc0f7afaddc3df736e751d49 @rlr committed Jun 1, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.rst
  2. +2 −2 chatproject/apps/chatapp1/views.py
View
4 README.rst
@@ -10,7 +10,7 @@ Installation
------------
Note: you probably want to create and activate a virtualenv before
-running installing the requirements below. I use and like virtualenvwrapper_.
+installing the requirements below. I use and like virtualenvwrapper_.
.. _virtualenvwrapper: http://www.doughellmann.com/docs/virtualenvwrapper/
@@ -49,4 +49,4 @@ TODO/Wishlist
* Private/1:1 chat
* Experiment posting messages outside of socket.io connection. This way we can
limit the socket.io connection to pubsub messages and all blocking calls
- (to database, etc.) can be made in through the normal django/wsgi stack.
+ (to database, etc.) can be made through the normal django/wsgi stack.
View
4 chatproject/apps/chatapp1/views.py
@@ -17,7 +17,7 @@ def socketio(request):
redis_sub = redis_client().pubsub()
user = username(request.user)
- # Subscribe to incoming pubsub messages from redis
+ # Subscribe to incoming pubsub messages from redis.
def subscriber(io):
redis_sub.subscribe(room_channel())
redis_client().publish(room_channel(), user + ' connected.')
@@ -27,7 +27,7 @@ def subscriber(io):
io.send(message['data'])
greenlet = Greenlet.spawn(subscriber, io)
- # Listen to incoming messages from client
+ # Listen to incoming messages from client.
while io.connected():
message = io.recv()
if message:

0 comments on commit 77167a9

Please sign in to comment.