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.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/metadata_key.cc b/python/metadata_key.cc
index b4e1d2152..abbcd788a 100644
--- a/python/metadata_key.cc
+++ b/python/metadata_key.cc
@@ -348,7 +348,9 @@ struct MetadataCollectionKeyWrapper :
throw PythonMethodNotImplemented("MetadataCollectionKey", "value");
}
- std::string pretty_print_flat(const Formatter<typename C_::value_type> & formatter) const
+ std::string pretty_print_flat(const Formatter<
+ typename tr1::remove_const<
+ typename RemoveSharedPtr<typename C_::value_type>::Type>::type> & formatter) const
PALUDIS_ATTRIBUTE((warn_unused_result))
{
Lock l(get_mutex());
@@ -924,6 +926,7 @@ void expose_metadata_key()
class_set_key<IUseFlagSet>("IUseFlagIterable");
class_set_key<Set<std::string> >("StringIterable");
class_set_key<FSEntrySequence>("FSEntryIterable");
+ class_set_key<PackageIDSequence>("PackageIDIterable");
/**
* MetadataSpecTreeKeys