aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-08-18 15:36:15 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-08-18 15:36:15 +0100
commit44b327851a6ad01445d7c1295178c96a72cf24a4 (patch)
tree978b574b0cc60bef06bb3afd71e2dd7d06e41287
parentf62e137848dd2c829a1d5f874ae5d4f2197e7ac6 (diff)
downloadpaludis-44b327851a6ad01445d7c1295178c96a72cf24a4.tar.gz
paludis-44b327851a6ad01445d7c1295178c96a72cf24a4.tar.xz
Don't complain about a master repository having a master itself
-rw-r--r--paludis/repositories/e/e_repository.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index ceebd1c..afa8d1c 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -1524,10 +1524,6 @@ ERepository::repository_factory_create(
stringify(format) + "', not 'ebuild'");
std::tr1::shared_ptr<ERepository> master_repository(std::tr1::static_pointer_cast<ERepository>(master_repository_uncasted));
- if (master_repository->params().master_repositories && ! master_repository->params().master_repositories->empty())
- throw ERepositoryConfigurationError("Requested master repository has master repositories itself, so it cannot "
- "be used as a master repository");
-
master_repositories.reset(new ERepositorySequence);
master_repositories->push_back(master_repository);
}