examples/topology: define socketIds and siblingsIds as sets
socketIds and siblingsIds are declared as empty lists, filled by
list comprehensions, and later on re-used as sets.
They could be directly obtained from set comprehensions.
Fixes:
34aa32b ("Move python example programs into python/examples/ subdirectory")
Fixes:
3f4e32c ("examples: Invoke print("...") instead of print "..."")
Link: https://docs.python.org/3/tutorial/datastructures.html#sets
Signed-off-by: Ariel Otilibili <[email protected]>
Signed-off-by: Michal Privoznik <[email protected]>
Reviewed-by: Michal Privoznik <[email protected]>