Comment 3 for bug 356281

Revision history for this message
In , dobey (dobey) wrote :

Created an attachment (id=24788)
Patch to fix DeprecationWarning for object __init__

In Python 2.6 object's __init__ no longer ignores extra parameters and emits the following warning, whenever the Connection class is instantiated in Python.

DeprecationWarning: object.__init__() takes no parameters

The attached patch fixes this.