aboutsummaryrefslogtreecommitdiff
path: root/python/repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/repository.cc')
-rw-r--r--python/repository.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/repository.cc b/python/repository.cc
index 0ca595e20..962f86c17 100644
--- a/python/repository.cc
+++ b/python/repository.cc
@@ -107,8 +107,8 @@ namespace
make_fake_repository(const Environment * const env, const RepositoryName & n)
{
return make_shared_ptr(new FakeRepository(make_named_values<FakeRepositoryParams>(
- value_for<n::environment>(env),
- value_for<n::name>(n)
+ n::environment() = env,
+ n::name() = n
)));
}
}