diff options
author | Bryan Forbes | 2011-09-26 17:16:13 +0200 |
---|---|---|
committer | Nikias Bassen | 2011-09-26 17:16:13 +0200 |
commit | 3ceae531d868f6c1341cf916bcb0ae1248d688cd (patch) | |
tree | 6adbe963574e9b29672d40f4991e629ac37e0159 /cython | |
parent | f57dd030b971d14942aaec3a42d176d57547355c (diff) | |
download | libplist-3ceae531d868f6c1341cf916bcb0ae1248d688cd.tar.gz libplist-3ceae531d868f6c1341cf916bcb0ae1248d688cd.tar.bz2 |
If the plist type is none, return None.
Diffstat (limited to 'cython')
-rw-r--r-- | cython/plist.pyx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx index 336b16f..f4e7dbb 100644 --- a/cython/plist.pyx +++ b/cython/plist.pyx @@ -697,3 +697,5 @@ cdef object plist_t_to_node(plist_t c_plist, bool managed=True): return Date_factory(c_plist, managed) if t == PLIST_DATA: return Data_factory(c_plist, managed) + if t == PLIST_NONE: + return None |