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

Commit 1a00064

Browse files
committed
Add missing import; needed for tests to pass.
1 parent b302f3d commit 1a00064

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyretic/core/classifier.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Classifiers
33
# an intermediate representation for proactive compilation.
44

5+
56
class Rule(object):
67
"""
78
A rule contains a filter and the parallel composition of zero or more
@@ -107,7 +108,7 @@ def __add__(self,c2):
107108
# Helper function for rshift: given a test b and an action p, return a test
108109
# b' such that p >> b == b' >> p.
109110
def _commute_test(self, act, pkts):
110-
from pyretic.core.language import modify, drop, identity, Controller, CountBucket, DerivedPolicy
111+
from pyretic.core.language import modify, drop, identity, Controller, CountBucket, DerivedPolicy, match
111112
while isinstance(act, DerivedPolicy):
112113
act = act.policy
113114
if act == identity:

0 commit comments

Comments
 (0)