diff options
author | Casey Dahlin <cdahlin@redhat.com> | 2008-12-23 00:25:12 -0500 |
---|---|---|
committer | Casey Dahlin <cdahlin@redhat.com> | 2008-12-23 00:25:12 -0500 |
commit | a65622d3b09e39092aba2adb75029e668c7cac51 (patch) | |
tree | 6be9d27e665118cd5a98fff541f46d8d0de2e3d7 | |
parent | 9c793ab4aa343311249352ad4b447568844398b1 (diff) | |
download | upstate-a65622d3b09e39092aba2adb75029e668c7cac51.tar.gz upstate-a65622d3b09e39092aba2adb75029e668c7cac51.tar.xz upstate-a65622d3b09e39092aba2adb75029e668c7cac51.zip |
Make get_applicable_deps give specific subcategory to which deps apply
-rw-r--r-- | statemachine.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/statemachine.py b/statemachine.py index 57f99e3..ced6b60 100644 --- a/statemachine.py +++ b/statemachine.py @@ -81,7 +81,8 @@ class StateMachine: retval = [] for (x, y) in self.deps: if x.equiv(cat): - retval.append((x, y.fill(cat.intersect(x).args))) + un = cat.intersect(x) + retval.append((un, y.fill(un.args))) return retval def __str__(self): |