aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-07-08 19:15:56 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-07-08 19:15:56 +0000
commit42bd1a60d171fb5f0269c1a97b3cb8d76799b7a7 (patch)
tree198e9d9fe439bf27aa9f08c41e9eceb76991ef33
parentabad99b363c8d9d70bec5a41db6373f59b87838e (diff)
downloadpaludis-42bd1a60d171fb5f0269c1a97b3cb8d76799b7a7.tar.gz
paludis-42bd1a60d171fb5f0269c1a97b3cb8d76799b7a7.tar.xz
(python) Work around a bug in epydoc.
-rw-r--r--python/metadata_key.cc12
1 files changed, 11 insertions, 1 deletions
diff --git a/python/metadata_key.cc b/python/metadata_key.cc
index bd9e5fb..28d62a4 100644
--- a/python/metadata_key.cc
+++ b/python/metadata_key.cc
@@ -176,7 +176,7 @@ void PALUDIS_VISIBLE expose_metadata_key()
)
.add_property("human_name", &MetadataKey::human_name,
- "[ro] MetadataKeyType\n"
+ "[ro] string\n"
)
;
register_metadata_key_to_python();
@@ -231,6 +231,16 @@ void PALUDIS_VISIBLE expose_metadata_key()
.add_property("value", &MetadataContentsKey::value,
"[ro] Contents\n"
)
+
+ //Work around epydoc bug
+ .add_property("raw_name", &MetadataContentsKey::raw_name,
+ "[ro] string\n"
+ )
+
+ //Work around epydoc bug
+ .add_property("human_name", &MetadataContentsKey::human_name,
+ "[ro] string\n"
+ )
;
/**