summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-03-19 16:45:09 +0100
committerGravatar Nikias Bassen2013-03-19 16:45:09 +0100
commit057fa38c02913703634da5c40753e1dafd626774 (patch)
tree11e2b7a43d6d279fbbba8bff269bf8d177d3b95b /cython
parent14a92d9f63a621a92f1c48c87cea324fbfad7c62 (diff)
downloadlibplist-057fa38c02913703634da5c40753e1dafd626774.tar.gz
libplist-057fa38c02913703634da5c40753e1dafd626774.tar.bz2
cython: return correct Key_factory in plist_t_to_node
Diffstat (limited to 'cython')
-rw-r--r--cython/plist.pyx2
1 files changed, 1 insertions, 1 deletions
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: