Fixed syntax error in DummyMain class in tests

This commit is contained in:
Veronica K. B. Olsen
2020-08-12 21:50:43 +02:00
parent f958f68302
commit cccd3eacf1
2 changed files with 1 additions and 14 deletions
-13
View File
@@ -12,19 +12,6 @@ class DummyMain():
return
def makeAlert(self, theMessage, theLevel):
if theLevel == nwAlert.WARN:
lvlMsg = "WARNING: "
elif theLevel == nwAlert.ERROR:
lvlMsg = "ERROR: "
elif theLevel == nwAlert.BUG:
lvlMsg = "BUG: "
else:
lvlMsg = ""
if isinstance(theMessage, list):
for msgLine in logMsg:
print(lvlMsg+msgLine)
else:
print(lvlMsg+theMessage)
return
def setStatus(self, theMessage):