[cig-commits] r15087 - in cs/pythia/trunk/pyre: db inventory xml

leif at geodynamics.org leif at geodynamics.org
Fri May 29 18:21:49 PDT 2009


Author: leif
Date: 2009-05-29 18:21:48 -0700 (Fri, 29 May 2009)
New Revision: 15087

Modified:
   cs/pythia/trunk/pyre/db/Schemer.py
   cs/pythia/trunk/pyre/inventory/Interface.py
   cs/pythia/trunk/pyre/inventory/Notary.py
   cs/pythia/trunk/pyre/xml/DTDBuilder.py
Log:
Fixed bugs exposed by Python v2.6.

Modified: cs/pythia/trunk/pyre/db/Schemer.py
===================================================================
--- cs/pythia/trunk/pyre/db/Schemer.py	2009-05-29 23:54:23 UTC (rev 15086)
+++ cs/pythia/trunk/pyre/db/Schemer.py	2009-05-30 01:21:48 UTC (rev 15087)
@@ -19,7 +19,7 @@
 
 
     def __init__(cls, name, bases, dict):
-        type.__init__(name, bases, dict)
+        type.__init__(cls, name, bases, dict)
 
         writeable = []
         columnRegistry = {}

Modified: cs/pythia/trunk/pyre/inventory/Interface.py
===================================================================
--- cs/pythia/trunk/pyre/inventory/Interface.py	2009-05-29 23:54:23 UTC (rev 15086)
+++ cs/pythia/trunk/pyre/inventory/Interface.py	2009-05-30 01:21:48 UTC (rev 15087)
@@ -16,7 +16,7 @@
 
 
     def __init__(cls, name, bases, dict):
-        type.__init__(name, bases, dict)
+        type.__init__(cls, name, bases, dict)
 
         import types
 

Modified: cs/pythia/trunk/pyre/inventory/Notary.py
===================================================================
--- cs/pythia/trunk/pyre/inventory/Notary.py	2009-05-29 23:54:23 UTC (rev 15086)
+++ cs/pythia/trunk/pyre/inventory/Notary.py	2009-05-30 01:21:48 UTC (rev 15087)
@@ -20,7 +20,7 @@
 
 
     def __init__(cls, name, bases, dict):
-        type.__init__(name, bases, dict)
+        type.__init__(cls, name, bases, dict)
 
         traitRegistry = {}
         facilityRegistry = {}

Modified: cs/pythia/trunk/pyre/xml/DTDBuilder.py
===================================================================
--- cs/pythia/trunk/pyre/xml/DTDBuilder.py	2009-05-29 23:54:23 UTC (rev 15086)
+++ cs/pythia/trunk/pyre/xml/DTDBuilder.py	2009-05-30 01:21:48 UTC (rev 15087)
@@ -18,7 +18,7 @@
 
 
     def __init__(cls, name, bases, dict):
-        type.__init__(name, bases, dict)
+        type.__init__(cls, name, bases, dict)
         trash = {}
 
         # initialize the lookup table with inherited tags



More information about the CIG-COMMITS mailing list