pika/pika — pull request #116 by quiver (2012-01-01 04:16:47+00:00)
Title: Fix NameError in credentials.py

When PlainCredentials's erase_on_connect flag is enabled, log NameError occurs.
Easy way to confirm this error is to change examples/demo_tornado.py as follows :
```
credentials = pika.PlainCredentials('guest', 'guest', True)
```