Change in vdsm[master]: net: init: wait for ipv4 with monitoring

phoracek at redhat.com phoracek at redhat.com
Wed Sep 16 06:44:59 UTC 2015


Petr Horáček has posted comments on this change.

Change subject: net: init: wait for ipv4 with monitoring
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.ovirt.org/#/c/46148/3/init/wait_for_networks.py
File init/wait_for_networks.py:

Line 30:     ipless_devs = set()
Line 31:     for dev in devs:
Line 32:         if getIpInfo(dev)[0] is '':
Line 33:             ipless_devs.add(dev)
Line 34:     return ipless_devs
> could be written in set comprehension, if you like:
yay sorry! initially it was None instead of '', that's why.
Line 35: 
Line 36: 
Line 37: def _wait_for_ipv4(devs):
Line 38:     try:


-- 
To view, visit https://gerrit.ovirt.org/46148
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaa9d53f8f436b5c5f11643ae03bdd768d555b83d
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list