aboutsummaryrefslogtreecommitdiff
path: root/python/metadata_key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/metadata_key.cc')
-rw-r--r--python/metadata_key.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/python/metadata_key.cc b/python/metadata_key.cc
index 31fed32e3..98b43e771 100644
--- a/python/metadata_key.cc
+++ b/python/metadata_key.cc
@@ -22,7 +22,6 @@
#include <paludis/metadata_key.hh>
#include <paludis/name.hh>
-#include <paludis/formatter.hh>
#include <paludis/dep_label.hh>
#include <paludis/environment.hh>
#include <paludis/util/set.hh>
@@ -693,17 +692,6 @@ struct MetadataSpecTreeKeyWrapper :
throw PythonMethodNotImplemented("MetadataSpecTreeKey", "value");
}
- virtual std::string pretty_print_flat(const typename C_::ItemFormatter & formatter) const
- PALUDIS_ATTRIBUTE((warn_unused_result))
- {
- Lock l(get_mutex());
-
- if (bp::override f = this->get_override("pretty_print_flat"))
- return f(boost::cref(formatter));
- else
- throw PythonMethodNotImplemented("MetadataSpecTreeKey", "pretty_print_flat");
- }
-
virtual const std::string raw_name() const
{
Lock l(get_mutex());