On Mon, 2016-03-21 at 22:52 +0000, brendan.le.foll at intel.com wrote: > (".so" or ".node" in f) I'm not sure this will do what you expect with python's operator ordering? $ python >>> bar=[1] >>> 2 or 1 in bar 2 >>> 2 in bar or 1 in bar True Cheers, Richard