Revision d8e0caa6 lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
694 | 694 |
if msg: |
695 | 695 |
logging.warning("Error contacting node %s: %s", node, msg) |
696 | 696 |
fail = True |
697 |
# for now we accept both length 3 and 4 (data[3] is primary ip version) |
|
697 | 698 |
elif not isinstance(data, (tuple, list)) or len(data) < 3: |
698 | 699 |
logging.warning("Invalid data received from node %s: %s", node, data) |
699 | 700 |
fail = True |
Also available in: Unified diff