Also parse warning_helpfull correctly for translations

This commit is contained in:
Safihre committed 2020-08-14 22:27:09 +02:00
1 parent 235df91a37
commit f242053d6c
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ def get_context(ctx_line):
else:
if "logging.error(" in srcline:
context = "Error message"
elif "logging.warning(" in srcline:
elif "logging.warning(" in srcline or "logging.warning_helpfull(" in srcline:
context = "Warning message"
if context and context not in contexts: