sdbus++: Use list comprehension when parsing property types

This is more consistent with code-style (c.f. the other branch in the
same if-statement). This was suggested by 2to3-tool.

Signed-off-by: Waqar Hameed <waqarh@axis.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I32c1bcf2e12712e2f9695ae6d1c891061f27ee0e
diff --git a/tools/sdbusplus/property.py b/tools/sdbusplus/property.py
index 34a71c1..b13356a 100644
--- a/tools/sdbusplus/property.py
+++ b/tools/sdbusplus/property.py
@@ -160,8 +160,7 @@
         # Parse each parameter entry, if appropriate, and create C++ template
         # syntax.
         result += '<'
-        result += ", ".join(map(lambda e: self.__parse_cpp_type__(e),
-                                rest))
+        result += ", ".join([self.__parse_cpp_type__(e) for e in rest])
         result += '>'
 
         return result