no longer inherit list, Table inherits list
Tony Mack [Tue, 13 May 2008 01:06:49 +0000 (01:06 +0000)]
qaapi/qa/Persons.py

index 2fe2592..18c3e41 100644 (file)
@@ -17,7 +17,7 @@ class Person(dict):
        
        self.update(fields)
 
-class Persons(list, Table):
+class Persons(Table):
     def __init__(self, persons):
        personlist = [Person(person) for person in persons]
-       list.__init__(self, personlist)                                                                         
+       Table.__init__(self, personlist)