summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-12-23 00:25:12 -0500
committerCasey Dahlin <cdahlin@redhat.com>2008-12-23 00:25:12 -0500
commita65622d3b09e39092aba2adb75029e668c7cac51 (patch)
tree6be9d27e665118cd5a98fff541f46d8d0de2e3d7
parent9c793ab4aa343311249352ad4b447568844398b1 (diff)
downloadupstate-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.py3
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):