meebo/python-lounge — Issue #3: db_connectinfo overwritten on View objects
Author: dbarnett
Created: 2012-02-09 19:34:29+00:00
State: open

If you do:
```from lounge import client
client.db_connectinfo = "DEFAULT_URL"

class CustomView(client.View):
db_connectinfo = "CUSTOM_URL"

CustomView.execute(...)
```
and don't explicitly pass a db_connectinfo into execute, execute tries to connect to "DEFAULT_URL".

This is because the 2nd line of execute unconditionally overwrites db_connectinfo on the View instance, setting it to None in this case.