diff options
-rw-r--r-- | statemachine.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/statemachine.py b/statemachine.py index d6721df..54a325c 100644 --- a/statemachine.py +++ b/statemachine.py @@ -58,20 +58,6 @@ class StateMachine: to_add.add(tup[0]) return to_add - def intersect_list(self, cats1, cats2): - """ - Given two lists of categories, return a list of categories such that a - state appearing in at least one category in each list will appear in at - least one category in the returned list. - """ - retval = set() - for x in cats1: - for y in cats2: - inter = x.intersect(y) - if inter != None: - retval.add(inter) - return retval - def add_hold(self, cat): """ Add a hold to a state. Does not check dependencies. |