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

Commit f065167

Browse files
author
Joshua Reich
committed
removed unecessary appends, as per Omid's catch
1 parent bd52573 commit f065167

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pyretic/core/classifier.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ def __add__(self,c2):
9999
if len(actions) == 0:
100100
actions = [drop]
101101
c.rules.append(Rule(intersection, actions))
102-
for r1 in c1.rules:
103-
c.rules.append(r1)
104-
for r2 in c2.rules:
105-
c.rules.append(r2)
106102
return c.optimize()
107103

108104
# Helper function for rshift: given a test b and an action p, return a test

0 commit comments

Comments
 (0)