diff options
author | 2011-05-21 19:12:05 +0100 | |
---|---|---|
committer | 2011-05-21 19:12:32 +0100 | |
commit | 3c9416ee3093436bac908e3d985fbe70e0eb1181 (patch) | |
tree | 52ad2c4c8e599614195de8b408958a0a4e9f55b7 | |
parent | 3af95a7e0aaa93db66a18dbab32c43983ad8de41 (diff) | |
download | paludis-3c9416ee3093436bac908e3d985fbe70e0eb1181.tar.gz paludis-3c9416ee3093436bac908e3d985fbe70e0eb1181.tar.xz |
(ruby) Fix for API changes
-rwxr-xr-x | ruby/demos/playman.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/demos/playman.rb b/ruby/demos/playman.rb index 730274bb6..3d0525469 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." |