[Dave S] > Is there a neater way of saying ... > > syncerr=False > if 'SyncErr' in file: > syncerr=True syncerr = 'SyncErr' in file Peace, Kalle -- Kalle Svensson, http://www.juckapan.org/~kalle/ Student, root and saint in the Church of Emacs.