Fixed syntax error in DummyMain class in tests

This commit is contained in:
Veronica K. B. Olsen committed 2020-08-12 21:50:43 +02:00
1 parent f958f68302
commit cccd3eacf1
2 files changed
+1 -14

No files matched your search

-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):