There's a missing 'return' in my last post! On 21 Sep 2008, at 22:10, Arnaud Delobelle wrote: > def foo(...): > while True: > if error_condition1: > break > # Other error conditions, processing, etc > # only executes if everything is OK return > > # Error condition -- Arnaud