diff --git a/examples/dump-properties.py b/examples/dump-properties.py
index 4b8a9be88f0eff708f0772ef56557b7cff3f35ff..92ce7dcbfa541ba7df65ce12a37f7e44c1fd34c7 100644
--- a/examples/dump-properties.py
+++ b/examples/dump-properties.py
@@ -9,7 +9,9 @@ def print_info(obj, info_cls):
             except:
                 info_value = "<error>"
 
-            if info_cls == cl.device_info and info_name == "PARTITION_TYPES_EXT":
+            if (info_cls == cl.device_info and info_name == "PARTITION_TYPES_EXT"
+                    and isinstance(info_value, list)):
+                print info_value
                 print("%s: %s" % (info_name, [
                     cl.device_partition_property_ext.to_string(v) for v in info_value]))
             else: