summaryrefslogtreecommitdiffstats
path: root/state.rb
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-10-02 16:42:44 -0400
committerCasey Dahlin <cdahlin@redhat.com>2008-10-02 16:42:44 -0400
commit101d8be71ce5e5b6e73158e8c16352ef2f0b61ef (patch)
tree0a60eeada1a95a66288fdd36a8829ed010829867 /state.rb
parent80384ed90475f21f9458783c392d9afce725ddf2 (diff)
downloadupstate-101d8be71ce5e5b6e73158e8c16352ef2f0b61ef.tar.gz
upstate-101d8be71ce5e5b6e73158e8c16352ef2f0b61ef.tar.xz
upstate-101d8be71ce5e5b6e73158e8c16352ef2f0b61ef.zip
Store deps in states as a set
Keep a state's deps in set form
Diffstat (limited to 'state.rb')
-rw-r--r--state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.rb b/state.rb
index 071c121..73a9e5c 100644
--- a/state.rb
+++ b/state.rb
@@ -38,7 +38,7 @@ class State
raise NoMethodError if self.class == State
@holds = Set.new
- @deps = deps
+ @deps = deps.to_set
@params = {}
@active = false