[Tutor] Thanks!

Britt Green britt_green@hotmail.com
Thu, 08 Mar 2001 15:57:38 -0800


>Ah. This could be due to empty lines in raw_dirs. How about changing
>
>for x in raw_dirs: dirs.append(string.split(x)[-1])
>
>TO
>
>for x in raw_dirs: try: dirs.append(string.split(x)[-1]) except IndexError: 
>pass

Yeah that worked great. Thanks for the help!!

Britt

--
It is pitch black. You are likely to be eaten by a grue.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com