From Dan Kenigsberg danken@redhat.com:
Dan Kenigsberg has submitted this change and it was merged. ( https://gerrit.ovirt.org/80217 )
Change subject: net: Remove redundant hasattr calls. ......................................................................
net: Remove redundant hasattr calls.
IPAddressData __repr__ contains redundant hasattr calls for attributes that are guaranteed to be present.
Change-Id: I8678f227ee5c60011cc28bd390e3a616beb465d5 Signed-off-by: Leon Goldberg lgoldber@redhat.com --- M lib/vdsm/network/ip/address/__init__.py 1 file changed, 2 insertions(+), 5 deletions(-)
Approvals: Jenkins CI: Passed CI tests Petr Horáček: Looks good to me, but someone else must approve Leon Goldberg: Verified Edward Haas: Looks good to me, approved
vdsm-patches@lists.fedorahosted.org