diff options
author | Casey Dahlin <cdahlin@redhat.com> | 2008-12-23 00:23:52 -0500 |
---|---|---|
committer | Casey Dahlin <cdahlin@redhat.com> | 2008-12-23 00:23:52 -0500 |
commit | 9c793ab4aa343311249352ad4b447568844398b1 (patch) | |
tree | d148c068b963ed1e3e618a04849c29bac2977c6b | |
parent | 2c0fbebde3d1d668855d2c9b52b20483f4f5ebd0 (diff) | |
download | upstate-9c793ab4aa343311249352ad4b447568844398b1.tar.gz upstate-9c793ab4aa343311249352ad4b447568844398b1.tar.xz upstate-9c793ab4aa343311249352ad4b447568844398b1.zip |
make get_satisfied_states also return states to which the dep is not applicable
-rw-r--r-- | statemachine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/statemachine.py b/statemachine.py index cc90793..57f99e3 100644 --- a/statemachine.py +++ b/statemachine.py @@ -72,7 +72,7 @@ class StateMachine: for key, val in self.holds.iteritems(): if dependencies.equiv(key) and val > 0: retval.append(dependents.fill(key.args)) - return set(retval) + return set(retval) | dependents.inverse_set() def get_applicable_deps(self, cat): """ |