diff options
| author | 2013-03-19 16:45:09 +0100 | |
|---|---|---|
| committer | 2013-03-19 16:45:09 +0100 | |
| commit | 057fa38c02913703634da5c40753e1dafd626774 (patch) | |
| tree | 11e2b7a43d6d279fbbba8bff269bf8d177d3b95b | |
| parent | 14a92d9f63a621a92f1c48c87cea324fbfad7c62 (diff) | |
| download | libplist-057fa38c02913703634da5c40753e1dafd626774.tar.gz libplist-057fa38c02913703634da5c40753e1dafd626774.tar.bz2 | |
cython: return correct Key_factory in plist_t_to_node
| -rw-r--r-- | cython/plist.pyx | 2 |
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): | |||
| 779 | if t == PLIST_UINT: | 779 | if t == PLIST_UINT: |
| 780 | return Integer_factory(c_plist, managed) | 780 | return Integer_factory(c_plist, managed) |
| 781 | if t == PLIST_KEY: | 781 | if t == PLIST_KEY: |
| 782 | return Integer_factory(c_plist, managed) | 782 | return Key_factory(c_plist, managed) |
| 783 | if t == PLIST_REAL: | 783 | if t == PLIST_REAL: |
| 784 | return Real_factory(c_plist, managed) | 784 | return Real_factory(c_plist, managed) |
| 785 | if t == PLIST_STRING: | 785 | if t == PLIST_STRING: |
