From 3eb56b98ef3063d913398bea7d8776f880998391 Mon Sep 17 00:00:00 2001 From: Casey Dahlin Date: Tue, 23 Dec 2008 12:09:24 -0500 Subject: Make bring_up use add_hold instead of manually touching self.up --- statemachine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statemachine.py b/statemachine.py index 3a0e116..b8657fa 100644 --- a/statemachine.py +++ b/statemachine.py @@ -31,11 +31,11 @@ class StateMachine: else: found.append(res) if found == None: - self.up.add(cat) + self.add_hold(cat) return True to_add = self.cat_cross(found) for x in to_add: - self.up.add(x) + self.add_hold(x) return True def cat_cross(self, found): -- cgit