From 057fa38c02913703634da5c40753e1dafd626774 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 19 Mar 2013 16:45:09 +0100 Subject: cython: return correct Key_factory in plist_t_to_node --- cython/plist.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cython/plist.pyx b/cython/plist.pyx index 4365d7b..dce5bec 100644 --- a/cython/plist.pyx +++ b/cython/plist.pyx @@ -779,7 +779,7 @@ cdef object plist_t_to_node(plist_t c_plist, bint managed=True): if t == PLIST_UINT: return Integer_factory(c_plist, managed) if t == PLIST_KEY: - return Integer_factory(c_plist, managed) + return Key_factory(c_plist, managed) if t == PLIST_REAL: return Real_factory(c_plist, managed) if t == PLIST_STRING: -- cgit v1.1-32-gdbae