aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-22 21:03:30 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-22 21:03:30 +0000
commit339be8a3bd2337cc7f1e10dc1aa129ae1d45af68 (patch)
tree4f6fe089a19ee3ffc6ceb5c4efcaa58e28c46ae2
parent28a4a5d5ca732e7728328967a31a9d0000acb732 (diff)
downloadpaludis-339be8a3bd2337cc7f1e10dc1aa129ae1d45af68.tar.gz
paludis-339be8a3bd2337cc7f1e10dc1aa129ae1d45af68.tar.xz
Minor code style tweaks
-rw-r--r--paludis/fake_repository.cc4
-rw-r--r--paludis/package_database.cc2
2 files changed, 1 insertions, 5 deletions
diff --git a/paludis/fake_repository.cc b/paludis/fake_repository.cc
index 46c761b..b4a914c 100644
--- a/paludis/fake_repository.cc
+++ b/paludis/fake_repository.cc
@@ -165,7 +165,6 @@ bool
FakeRepository::do_query_repository_masks(const CategoryNamePart &,
const PackageNamePart &, const VersionSpec &) const
{
- /// \todo?
return false;
}
@@ -173,21 +172,18 @@ bool
FakeRepository::do_query_profile_masks(const CategoryNamePart &,
const PackageNamePart &, const VersionSpec &) const
{
- /// \todo?
return false;
}
UseFlagState
FakeRepository::do_query_use(const UseFlagName &) const
{
- /// \todo?
return use_unspecified;
}
bool
FakeRepository::do_query_use_mask(const UseFlagName &) const
{
- /// \todo?
return false;
}
diff --git a/paludis/package_database.cc b/paludis/package_database.cc
index 45fff63..a35d902 100644
--- a/paludis/package_database.cc
+++ b/paludis/package_database.cc
@@ -206,7 +206,7 @@ PackageDatabase::better_repository(const RepositoryName & r1,
return r1;
}
- throw InternalError(PALUDIS_HERE, "todo"); /// \bug
+ throw InternalError(PALUDIS_HERE, "better_repository called on non-owned repositories");
}
RepositoryName