Internals: Use python pass appropriately. No functional change intended.

This commit is contained in:
Wilson Snyder
2022-03-26 15:57:52 -04:00
parent 38b2845e2a
commit 4eaa6fdd06
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -217,9 +217,9 @@ class Cpt:
argtext = func + "\000" # EOF character
for tok in argtext:
if tok == "\000":
None # pylint: disable=pointless-statement
pass
elif re.match(r'\s+', tok):
None # pylint: disable=pointless-statement
pass
elif tok == "{":
newref = [forming]
if not aref:
@@ -262,7 +262,7 @@ class Cpt:
elif func == "NEVER":
out += "nodep->v3fatalSrc(\"Executing transform that was NEVERed\");"
elif func == "DONE":
None # pylint: disable=pointless-statement
pass
else:
self.error("Unknown execution function format: " + func + "\n")
return out