diff options
author | Chris Lumens <clumens@redhat.com> | 2008-09-22 15:20:36 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-09-22 15:20:36 -0400 |
commit | efbdc6aae274bddece244850cc48d030e2643ce7 (patch) | |
tree | 5d94bda75270a43709239ad29c792c1f8800e695 /isys | |
parent | 4279889bc824edd98e26978b0d9c8a7ae84865d2 (diff) | |
download | anaconda-efbdc6aae274bddece244850cc48d030e2643ce7.tar.gz anaconda-efbdc6aae274bddece244850cc48d030e2643ce7.tar.xz anaconda-efbdc6aae274bddece244850cc48d030e2643ce7.zip |
Fix a traceback when getting the interface settings (#462592).
Diffstat (limited to 'isys')
-rwxr-xr-x | isys/isys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.py b/isys/isys.py index 904488d42..8a1bea62c 100755 --- a/isys/isys.py +++ b/isys/isys.py @@ -927,7 +927,7 @@ def isDeviceDHCP(dev=None): connection_iface = dbus.Interface(connection, NM_CONNECTION_IFACE) settings = connection_iface.GetSettings() - ip4_setting = settings['ipv4'] + ip4_setting = settings.get('ipv4') if not ip4_setting or not ip4_setting['method'] or ip4_setting['method'] == 'auto': return True |