pika/pika — Issue #128: SelectConnection(parameters=None) raises AttributeError
Author: invisibleroads
Created: 2012-02-22 16:36:16+00:00
State: open

```
Traceback (most recent call last):
File "consumer.py", line 27, in
connection = SelectConnection(on_open_callback=on_connection_open)
File "/home/rhh/Documents/pika/pika/adapters/select_connection.py", line 28, in __init__
reconnection_strategy)
File "/home/rhh/Documents/pika/pika/adapters/base_connection.py", line 62, in __init__
if parameters.ssl and not SSL:
AttributeError: 'NoneType' object has no attribute 'ssl'
```

```python
from pika import SelectConnection

def on_connection_open(connection):
pass

connection = SelectConnection(on_open_callback=on_connection_open)
```