Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Commit eae4c0d

Browse files
author
Joshua Reich
committed
add ast fun to add_all_sub_pols
1 parent 7d0cb12 commit eae4c0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyretic/core/language.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,6 +1197,9 @@ def add_query_sub_pols(acc, policy):
11971197
else:
11981198
return acc
11991199

1200+
def add_all_sub_pols(acc, policy):
1201+
return acc | {policy}
1202+
12001203
def queries_in_eval(acc, policy):
12011204
res,pkts = acc
12021205
if policy == drop:

0 commit comments

Comments
 (0)