aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-02-21 20:43:56 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-02-21 20:43:56 +0000
commitdbad9d5f818882b730626028da3943a6c1039ef7 (patch)
tree3d96775139c17f12ec1592a233e13a2ed3083dda /python
parent9567079d3b62aba92acaa7b8e9d4c13a1788b034 (diff)
downloadpaludis-dbad9d5f818882b730626028da3943a6c1039ef7.tar.gz
paludis-dbad9d5f818882b730626028da3943a6c1039ef7.tar.xz
Add PackageID::transient_key and use it to avoid reporting
'unpackaged' packages as 'missing'. Fixes ticket:410
Diffstat (limited to 'python')
-rw-r--r--python/metadata_key.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/metadata_key.cc b/python/metadata_key.cc
index 56b91d3..a49ecf2 100644
--- a/python/metadata_key.cc
+++ b/python/metadata_key.cc
@@ -64,6 +64,11 @@ class MetadataKeySptrToPythonVisitor :
obj = bp::object(tr1::static_pointer_cast<const MetadataValueKey<long> >(_m_ptr));
}
+ void visit(const MetadataValueKey<bool> & k)
+ {
+ obj = bp::object(tr1::static_pointer_cast<const MetadataValueKey<bool> >(_m_ptr));
+ }
+
void visit(const MetadataTimeKey & k)
{
obj = bp::object(tr1::static_pointer_cast<const MetadataTimeKey>(_m_ptr));