summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-22 12:38:30 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-07-10 19:38:37 +0300
commita706f157b86e90696808025db01de99646d51a77 (patch)
tree699133c93fab2fe8881fd51dcf53a963ab66976d /py
parentb66820089b4823f82392b7a17aaf122d53e2b822 (diff)
Fix property name lookup
Object types can have different properties with the same name, so we need to move name-based property lookup from Card to DrmPropObject. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'py')
-rw-r--r--py/pykmsbase.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/pykmsbase.cpp b/py/pykmsbase.cpp
index 4dbcd7e..637e4f5 100644
--- a/py/pykmsbase.cpp
+++ b/py/pykmsbase.cpp
@@ -20,7 +20,6 @@ void init_pykmsbase(py::module &m)
.def_property_readonly("has_atomic", &Card::has_atomic)
.def("call_page_flip_handlers", &Card::call_page_flip_handlers)
.def("get_prop", (Property* (Card::*)(uint32_t) const)&Card::get_prop)
- .def("get_prop", (Property* (Card::*)(const string&) const)&Card::get_prop)
;
py::class_<DrmObject, DrmObject*>(m, "DrmObject")