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

index 0f441c7..52559aa 100644 (file)
@@ -20,7 +20,7 @@ class Site(dict):
        
        self.update(fields)
 
-class Sites(list, Table):
+class Sites(Table):
     def __init__(self, sites):
        sitelist = [Site(site) for site in sites]
-       list.__init__(self, sitelist)                                                                           
+       Table.__init__(self, sitelist)