aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2011-05-21 19:12:05 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2011-05-21 19:12:32 +0100
commit3c9416ee3093436bac908e3d985fbe70e0eb1181 (patch)
tree52ad2c4c8e599614195de8b408958a0a4e9f55b7
parent3af95a7e0aaa93db66a18dbab32c43983ad8de41 (diff)
downloadpaludis-3c9416ee3093436bac908e3d985fbe70e0eb1181.tar.gz
paludis-3c9416ee3093436bac908e3d985fbe70e0eb1181.tar.xz
(ruby) Fix for API changes
-rwxr-xr-xruby/demos/playman.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/demos/playman.rb b/ruby/demos/playman.rb
index 730274b..3d05254 100755
--- a/ruby/demos/playman.rb
+++ b/ruby/demos/playman.rb
@@ -129,11 +129,11 @@ HELP
end
$env = EnvironmentFactory.instance.create($envspec)
-if $env.format_key.value != "paludis" then
+if $env.format_key.parse_value != "paludis" then
$stderr.puts "#$0: --environment must specify class 'paludis'"
exit 1
end
-$config_dir = $env.config_location_key.value
+$config_dir = $env.config_location_key.parse_value
if $mode.empty?
$stderr.puts "You must choose a mode of operation."