aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2010-02-27 23:59:33 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2010-02-27 23:59:33 +0000
commit397abbd06696bffe7a9a49bd1d64de8785cc3879 (patch)
tree5adfedc76f870d1598db09e18a1a5ac809b03375
parentbc3097c430eb9c12965440871cf3fd988815fab5 (diff)
downloadpaludis-397abbd06696bffe7a9a49bd1d64de8785cc3879.tar.gz
paludis-397abbd06696bffe7a9a49bd1d64de8785cc3879.tar.xz
Add missing warning
-rw-r--r--paludis/repositories/e/e_key.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_key.cc b/paludis/repositories/e/e_key.cc
index cc97297..8255394 100644
--- a/paludis/repositories/e/e_key.cc
+++ b/paludis/repositories/e/e_key.cc
@@ -1031,6 +1031,9 @@ EContentsKey::value() const
}
else if ("misc" == tokens.at(0) || "fif" == tokens.at(0) || "dev" == tokens.at(0))
_imp->value->add(std::tr1::shared_ptr<ContentsEntry>(new ContentsOtherEntry(tokens.at(1))));
+ else
+ Log::get_instance()->message("e.contents.unknown", ll_warning, lc_context) << "CONTENTS has unsupported entry type '" <<
+ tokens.at(0) << "', skipping";
}
return _imp->value;