The DAL should throw an exception in this case. I will add a check.
On Jan 18, 4:49 pm, Lorin Rivers wrote:
> Right!
>
> Hey, it might be good to have an example in The Book that uses a different
> construction than the one I mistakenly tried to use.
>
> On Jan 18, 2011, at 15:30 , Massimo Di Pi
Right!
Hey, it might be good to have an example in The Book that uses a different
construction than the one I mistakenly tried to use.
On Jan 18, 2011, at 15:30 , Massimo Di Pierro wrote:
>
>for row in semaphore_rows.find(lambda row:
> row.table_name[0]=='data_table'):
>print row
for row in semaphore_rows.find(lambda row:
row.table_name[0]=='data_table'):
print row
should be
for row in semaphore_rows.find(lambda row:
row.table_name=='data_table'):
print row
else you compare only the first char with 'date_table'
On Jan 18, 1:05 pm, Lorin Rivers
3 matches
Mail list logo