diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-12-01 12:32:46 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-12-01 12:32:46 -0800 |
commit | 9c2933d9cad323b786adc8338f045cb71cd258da (patch) | |
tree | 59e3284b31e92435edabc0251bf5db485413c60b /tools/run-pep8 | |
parent | 26af82a55325c460fdeb7eb6dceef7d433671e47 (diff) | |
parent | 07c2684be477cdc6341646469d4ae365b52a0c1e (diff) | |
download | vyos-cloud-init-9c2933d9cad323b786adc8338f045cb71cd258da.tar.gz vyos-cloud-init-9c2933d9cad323b786adc8338f045cb71cd258da.zip |
Cleanups for netinfo.py
- Handle ipv6 route information not existing
gracefully (for systems that don't have it)
- Fix the getgateway function (broken due to
ipv4/ipv6 keys now existing in route info)
- Separate the centering of the route info ipv4
information from the centering of the ipv6 information
so that this looks prettier...
- Use try: except: else instead of settings value to
None and then later checking for None (more pythonic
this way)
Diffstat (limited to 'tools/run-pep8')
0 files changed, 0 insertions, 0 deletions