aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2008-01-02 02:25:11 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2008-01-02 02:25:11 +0000
commitd7efa945288cbb5802b6b0d9c368e05be2360aea (patch)
treee67d3c62ece62aa140b9b7af95031e6146c4e227 /python
parent843c1e057121600a2869b5f0e2d77e665ee16dcc (diff)
downloadpaludis-d7efa945288cbb5802b6b0d9c368e05be2360aea.tar.gz
paludis-d7efa945288cbb5802b6b0d9c368e05be2360aea.tar.xz
Add MetadataSizeKey, and two new PackageID keys, UNDOWNLOADEDDISTFILESIZE and TOTALDISTFILESIZE.
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 8902fb3b9..fa613ae32 100644
--- a/python/metadata_key.cc
+++ b/python/metadata_key.cc
@@ -59,6 +59,11 @@ class MetadataKeySptrToPythonVisitor :
obj = bp::object(tr1::static_pointer_cast<const MetadataStringKey>(_m_ptr));
}
+ void visit(const MetadataSizeKey & k)
+ {
+ obj = bp::object(tr1::static_pointer_cast<const MetadataSizeKey>(_m_ptr));
+ }
+
void visit(const MetadataTimeKey & k)
{
obj = bp::object(tr1::static_pointer_cast<const MetadataTimeKey>(_m_ptr));