aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unwritten/unwritten_repository_file.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-06 19:53:51 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-06 20:34:59 +0000
commit78fae8c23f0aa4070ed495ced4c4f20434f91c62 (patch)
treeadf844644b946f069e660796b12c65e87554dc9a /paludis/repositories/unwritten/unwritten_repository_file.cc
parent374a0586092fc10b7d08dba9a2af9fb689758cd4 (diff)
downloadpaludis-78fae8c23f0aa4070ed495ced4c4f20434f91c62.tar.gz
paludis-78fae8c23f0aa4070ed495ced4c4f20434f91c62.tar.xz
unwritten/repository.conf
Diffstat (limited to 'paludis/repositories/unwritten/unwritten_repository_file.cc')
-rw-r--r--paludis/repositories/unwritten/unwritten_repository_file.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/paludis/repositories/unwritten/unwritten_repository_file.cc b/paludis/repositories/unwritten/unwritten_repository_file.cc
index cc6d6903c..01018f60b 100644
--- a/paludis/repositories/unwritten/unwritten_repository_file.cc
+++ b/paludis/repositories/unwritten/unwritten_repository_file.cc
@@ -55,12 +55,6 @@ namespace paludis
struct Imp<UnwrittenRepositoryFile>
{
Entries entries;
- bool is_graveyard;
-
- Imp() :
- is_graveyard(false)
- {
- }
};
template <>
@@ -203,16 +197,6 @@ UnwrittenRepositoryFile::_load(const FSPath & f)
throw UnwrittenRepositoryConfigurationError(
"Unsupported format '" + value + "' in '" + stringify(f) + "'");
}
- else if (key == "role")
- {
- if (value == "graveyard")
- _imp->is_graveyard = true;
- else if (value == "unwritten")
- _imp->is_graveyard = false;
- else
- Log::get_instance()->message("unwritten_repository.file.unknown_key", ll_warning, lc_context)
- << "Ignoring unknown key value '" << value << "' for key '" << key << "'";
- }
else
Log::get_instance()->message("unwritten_repository.file.unknown_key", ll_warning, lc_context)
<< "Ignoring unknown key '" << key << "' with value '" << value << "'";
@@ -380,12 +364,6 @@ UnwrittenRepositoryFile::_load(const FSPath & f)
_imp->entries.push_back(*entry);
}
-bool
-UnwrittenRepositoryFile::is_graveyard() const
-{
- return _imp->is_graveyard;
-}
-
template class Pimp<UnwrittenRepositoryFile>;
template class WrappedForwardIterator<UnwrittenRepositoryFile::ConstIteratorTag,
const UnwrittenRepositoryFileEntry>;