simplify all of the python version checks. Since we use python3 syntax, the file won't run anyway in python2.x . So get rid of the version check all together!
Closed this issue · 0 comments
aaronkaplan commented
sysdiagnose/parsers/sysdiagnose-brctl.py
Line 364 in 6403090
Apply this to all files where the version check is present. It's really a useless if
statement.
Reasoning: Since all files, use python3 syntax only (f-strings, print(), etc.), the file won't run anyway in python2.x . So get rid of the version check all together! If you try to run it in python2, the interpreter will spit out the file anyway.