Skip to content

Commit

Permalink
Fixed samples on README.
Browse files Browse the repository at this point in the history
  • Loading branch information
puentesarrin committed Feb 27, 2014
1 parent cb22e75 commit 51ed512
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ Here is a simple "Hello, world" example SMTP server for Bonzo:
.. code-block:: python
import tornado.ioloop
import bonzo.mail
import bonzo.smtp
class Handler(bonzo.mail.RequestHandler):
class Handler(bonzo.smtp.RequestHandler):
def data(self):
print(self.request.message)
application = bonzo.mail.Application(Handler)
application = bonzo.smtp.Application(Handler)
if __name__ == '__main__':
application.listen(2525)
Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ Here is a simple "Hello, world" example SMTP server for Bonzo:
.. code-block:: python
import tornado.ioloop
import bonzo.mail
import bonzo.smtp
class Handler(bonzo.mail.RequestHandler):
class Handler(bonzo.smtp.RequestHandler):
def data(self):
print(self.request.message)
application = bonzo.mail.Application(Handler)
application = bonzo.smtp.Application(Handler)
if __name__ == '__main__':
application.listen(2525)
Expand Down

0 comments on commit 51ed512

Please sign in to comment.