aboutsummaryrefslogtreecommitdiff
path: root/src/clients/qualudis/qualudis.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-02-21 14:40:19 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-02-21 14:40:19 +0000
commit981dd553a590eff046d49bccd06f2cb61963edee (patch)
tree5ffceeda6cfaa575b92ca48e1152997bbded3605 /src/clients/qualudis/qualudis.cc
parent690aca7a8de4bf9b682be59abbed08a8d12a21d8 (diff)
downloadpaludis-981dd553a590eff046d49bccd06f2cb61963edee.tar.gz
paludis-981dd553a590eff046d49bccd06f2cb61963edee.tar.xz
More sr -> kc
Diffstat (limited to 'src/clients/qualudis/qualudis.cc')
-rw-r--r--src/clients/qualudis/qualudis.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/qualudis/qualudis.cc b/src/clients/qualudis/qualudis.cc
index 416fefa..bfc9484 100644
--- a/src/clients/qualudis/qualudis.cc
+++ b/src/clients/qualudis/qualudis.cc
@@ -337,13 +337,13 @@ int main(int argc, char *argv[])
.extra_params(tr1::shared_ptr<Map<std::string, std::string> >())
));
- if (! env->main_repository()->qa_interface)
+ if (! (*env->main_repository())[k::qa_interface()])
throw ConfigurationError("Repository '" + stringify(env->main_repository()->name()) + "' does not support QA checks");
QualudisReporter r(QualudisCommandLine::get_instance()->a_show_associated_keys.argument());
if (QualudisCommandLine::get_instance()->empty())
{
- env->main_repository()->qa_interface->check_qa(
+ (*env->main_repository())[k::qa_interface()]->check_qa(
r,
QACheckProperties(),
QACheckProperties(),
@@ -355,7 +355,7 @@ int main(int argc, char *argv[])
for (QualudisCommandLine::ParametersConstIterator c(QualudisCommandLine::get_instance()->begin_parameters()),
c_end(QualudisCommandLine::get_instance()->end_parameters()) ;
c != c_end ; ++c)
- env->main_repository()->qa_interface->check_qa(
+ (*env->main_repository())[k::qa_interface()]->check_qa(
r,
QACheckProperties(),
QACheckProperties(),