getreportopt: remove needless if

This commit is contained in:
Daniel Hahler 2019-04-14 23:15:31 +02:00
parent 19035f4b55
commit fd0b3e2e8b
1 changed files with 8 additions and 9 deletions

View File

@ -165,7 +165,6 @@ def getreportopt(config):
reportchars += "w"
elif config.option.disable_warnings and "w" in reportchars:
reportchars = reportchars.replace("w", "")
if reportchars:
for char in reportchars:
if char == "a":
reportopts = "sxXwEf"