flake8: apply E71x rule

This commit is contained in:
Yuming Zhu 2020-02-26 04:28:55 +08:00
parent fa69c4904e
commit 6ed30954b2
13 changed files with 114 additions and 114 deletions

View file

@ -185,7 +185,7 @@ def getBestArchFromList(archlist, myarch=None):
bestarch = getBestArch(myarch)
if bestarch != myarch:
bestarchchoice = getBestArchFromList(archlist, bestarch)
if bestarchchoice != None and bestarchchoice != "noarch":
if bestarchchoice is not None and bestarchchoice != "noarch":
return bestarchchoice
thisarch = archlist[0]