fix outmoded `x and x or y` idiom in `infixowl.py` (#1943)
fix outmoded `x and x or y` idiom in `infixowl.py` (#1943)

Change `x and x or y` idiom for modern, clearer `y if x is None else x`, as suggested by sonarcloud analysis

RDFLib/rdflib,RDFLib/rdflib,RDFLib/rdflib,RDFLib/rdflib