Spit out server default rules too.

This commit is contained in:
David Baker 2015-01-30 15:54:29 +00:00
parent 6dc92d3427
commit b4b892f4a3
2 changed files with 17 additions and 10 deletions

View file

@ -1,9 +1,5 @@
def make_base_rules(user_name):
"""
Nominally we reserve priority class 0 for these rules, although
in practice we just append them to the end so we don't actually need it.
"""
return [
rules = [
{
'conditions': [
{
@ -46,4 +42,7 @@ def make_base_rules(user_name):
}
]
}
]
]
for r in rules:
r['priority_class'] = 0
return rules