From 3ceae531d868f6c1341cf916bcb0ae1248d688cd Mon Sep 17 00:00:00 2001 From: Bryan Forbes Date: Mon, 26 Sep 2011 17:16:13 +0200 Subject: If the plist type is none, return None. --- cython/plist.pyx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cython') 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 -- cgit v1.1-32-gdbae