git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2adbf3
)
no longer inherit list, Table inherits list
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 13 May 2008 01:06:49 +0000
(
01:06
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 13 May 2008 01:06:49 +0000
(
01:06
+0000)
qaapi/qa/Persons.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/Persons.py
b/qaapi/qa/Persons.py
index
2fe2592
..
18c3e41
100644
(file)
--- a/
qaapi/qa/Persons.py
+++ b/
qaapi/qa/Persons.py
@@
-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)