examples: Refactor domipaddrs
examples: Refactor domipaddrs

This patch makes domipaddrs example compatible with Python3.

Signed-off-by: Radostin Stoyanov <af191057dab5b67c1c1061d181b58b884c4ed7f3@fedoraproject.org>

libvirt/libvirt-python,libvirt/libvirt-python,libvirt/libvirt-python