repo.or.cz
/
stuff.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added fit.ActionFixture and fixed the loader. Added ListAdapter.
[stuff.git]
/
pyfit
/
ColumnFixture.py
blob
d569400a0be2aab734cc4f98b4d20f53cd5e5c25
1
from
util
import
*
2
3
class
ColumnFixture
(
object
):
4
def
process
(
self
,
table
):
5
row
=
table
.
rows
[
1
]
6
7
desc
= []
8
for
cell
in
row
:
9
desc
.
append
(
parse_action
(
str
(
cell
)))
10
11
for
row
in
table
.
rows
[
2
:]:
12
for
(
d
,
cell
)
in
zip
(
desc
,
row
):
13
d
.
apply
(
self
,
cell
,
self
.
adapters
)