Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/notifications/parser.py

Issue 29328652: Issue 3124 - Allow the new severity value 'normal' (Closed)
Patch Set: Created Sept. 25, 2015, 10:06 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/notifications/parser.py
===================================================================
--- a/sitescripts/notifications/parser.py
+++ b/sitescripts/notifications/parser.py
@@ -69,7 +69,7 @@
if key == "inactive" and not is_variant:
current["inactive"] = True
elif key == "severity":
- if value not in ("information", "critical"):
+ if value not in ("information", "critical", "normal"):
raise Exception("Unknown severity value '%s' in file '%s'" % (value, name))
current["severity"] = value
elif key == "links":
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld