Revision 17b0b812 lib/backend.py
b/lib/backend.py | ||
---|---|---|
666 | 666 |
result[constants.NV_MASTERIP] = netutils.TcpPing(master_ip, port, |
667 | 667 |
source=source) |
668 | 668 |
|
669 |
if constants.NV_USERSCRIPTS in what: |
|
670 |
result[constants.NV_USERSCRIPTS] = \ |
|
671 |
[script for script in what[constants.NV_USERSCRIPTS] |
|
672 |
if not (os.path.exists(script) and os.access(script, os.X_OK))] |
|
673 |
|
|
669 | 674 |
if constants.NV_OOB_PATHS in what: |
670 | 675 |
result[constants.NV_OOB_PATHS] = tmp = [] |
671 | 676 |
for path in what[constants.NV_OOB_PATHS]: |
Also available in: Unified diff