summaryrefslogtreecommitdiffstats
path: root/state.rb
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-10-03 17:14:22 -0400
committerCasey Dahlin <cdahlin@redhat.com>2008-10-03 17:14:22 -0400
commit7c5adf0c59a35bb48941d9e860d1dca109b2859b (patch)
treed9f8a3a9ffe6e0bcd00aa68453593a479dbbad74 /state.rb
parentae2cc6463a1299acae06ddf8573ef996b0ae58bd (diff)
downloadupstate-7c5adf0c59a35bb48941d9e860d1dca109b2859b.tar.gz
upstate-7c5adf0c59a35bb48941d9e860d1dca109b2859b.tar.xz
upstate-7c5adf0c59a35bb48941d9e860d1dca109b2859b.zip
Depsolve new types on creation
As soon as a type exists, try to bring it up
Diffstat (limited to 'state.rb')
-rw-r--r--state.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/state.rb b/state.rb
index b69421a..6912b49 100644
--- a/state.rb
+++ b/state.rb
@@ -165,6 +165,7 @@ class State
undef :new_type, :process_event, :gc, :depsolve_all
end
@@state_types.add newtype
+ newtype.depsolve
newtype
end