Need a little python assistance for accounts export

TomLy lyz27 at yahoo.com
Sat Nov 18 21:18:11 UTC 2006


>  haven't looked at the code - but the above is a good sign you're
> iterating over a string object not a list object.
> 
> try this and you'll see:
> 
> foo='lalalalal'
> for item in foo:
>    print item
> 
> 
> do a type() on the object you're getting the output from above and I bet
> it's as string not a list.
> 
> 
> -sv
> 


Good call, that fixed it :).

Thanks,

~tom




More information about the Fedora-infrastructure-list mailing list