aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_import.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-12 14:28:03 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-12 14:45:22 +0100
commit120c58323950219e16d8fe22693af221d2887f9b (patch)
tree2df48534abea1af807750dbbd0ce3ac9922bd44b /src/clients/cave/cmd_import.cc
parent271074eb112e276d5ba25f91785431911ee3443f (diff)
downloadpaludis-120c58323950219e16d8fe22693af221d2887f9b.tar.gz
paludis-120c58323950219e16d8fe22693af221d2887f9b.tar.xz
MetadataKey value -> parse_value
Diffstat (limited to 'src/clients/cave/cmd_import.cc')
-rw-r--r--src/clients/cave/cmd_import.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_import.cc b/src/clients/cave/cmd_import.cc
index 04bb0b4ef..d7a59a638 100644
--- a/src/clients/cave/cmd_import.cc
+++ b/src/clients/cave/cmd_import.cc
@@ -226,7 +226,7 @@ ImportCommand::run(
auto repo(env->fetch_repository((*i)->repository_name()));
if (! repo->format_key())
continue;
- if (repo->format_key()->value() != "installed_unpackaged")
+ if (repo->format_key()->parse_value() != "installed_unpackaged")
continue;
old_id = *i;
break;
@@ -237,7 +237,7 @@ ImportCommand::run(
"no old ID available");
if (old_id->short_description_key())
- description = old_id->short_description_key()->value();
+ description = old_id->short_description_key()->parse_value();
if (old_id->build_dependencies_key())
build_dependencies = old_id->build_dependencies_key()->pretty_print_value(UnformattedPrettyPrinter(), { });
if (old_id->run_dependencies_key())