dabo Commit
Revision 4869
Date: 2008-12-17 15:58:07 -0800 (Wed, 17 Dec 2008)
Author: Cito
Trac: http://trac.dabodev.com/dabo/changeset/4869

Changed:
U   trunk/dabo/db/dDataSet.py

Log:
As immutable objects, tuples are created with __new__, not with __init__, so 
the latter takes no parameters here. In Py 2.6 they will be passed to object 
and give a deprecation warning.

Diff:
Modified: trunk/dabo/db/dDataSet.py
===================================================================
--- trunk/dabo/db/dDataSet.py   2008-12-17 20:01:41 UTC (rev 4868)
+++ trunk/dabo/db/dDataSet.py   2008-12-17 23:58:07 UTC (rev 4869)
@@ -36,8 +36,8 @@
        warning message will be printed out and the SQL functions will return
        None. The data will still be usable, though.
        """
-       def __init__(self, *args, **kwargs):
-               super(dDataSet, self).__init__(*args, **kwargs)
+       def __init__(self):
+               super(dDataSet, self).__init__()
                self._connection = None
                self._cursor = None
                self._bizobj = None




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to