Antoon Pardon wrote: > Ah, yes, the penny dropped. The try: except where there because > originally there were other statements I wanted to test and I > didn't want the raise exception by the inc(-2) stop the script. > I completely forget to consider it would also catch the > error I was expecting.
A very good example of why you should (almost) never use a bare except: ... Tim Delaney -- http://mail.python.org/mailman/listinfo/python-list