def __updateFilter( self, newInfoKey=None ) :

		infoKey, matcher = self.pathFilter().getMatcher()
		if newInfoKey is not None :
			infoKey = newInfoKey

		t = self.__filterText.getText()

		if t=="" :
			matcher = None
		else :
			if t not in "?" and "*" not in t :
				t = "*" + t + "*"
			stringifier = str
			if infoKey == "fileSystem:modificationTime" :
				stringifier = time.ctime

			regex = re.compile( fnmatch.translate( t ) )
			matcher = lambda v : regex.match( stringifier( v ) ) is not None

		self.pathFilter().setMatcher( infoKey, matcher )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/InfoPathFilterWidget.py/InfoPathFilterWidget.__updateFilter/swapped operands of `not in`