summaryrefslogtreecommitdiffstats
path: root/pyanaconda/textw
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2012-07-12 17:02:41 +0200
committerRadek Vykydal <rvykydal@redhat.com>2012-07-20 14:13:35 +0200
commitd9a58eb4c72a99ea416b58987a14a9519eb66f3f (patch)
treeab06b455e674ed203bb63c602997475e7e333b49 /pyanaconda/textw
parentb021d28aaa681f0c440e6f2119a9c0e0fae395de (diff)
downloadanaconda-d9a58eb4c72a99ea416b58987a14a9519eb66f3f.tar.gz
anaconda-d9a58eb4c72a99ea416b58987a14a9519eb66f3f.tar.xz
anaconda-d9a58eb4c72a99ea416b58987a14a9519eb66f3f.zip
remove Network(): remove unused functions
move some methods out of Network object still keeping old ui working
Diffstat (limited to 'pyanaconda/textw')
-rw-r--r--pyanaconda/textw/netconfig_text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/textw/netconfig_text.py b/pyanaconda/textw/netconfig_text.py
index aabd7d580..ed1fff2e9 100644
--- a/pyanaconda/textw/netconfig_text.py
+++ b/pyanaconda/textw/netconfig_text.py
@@ -390,9 +390,9 @@ class NetworkConfiguratorText:
else:
dev.set(("IPV6INIT", "no"))
- self.anaconda.network.unsetDNS(devname)
+ self.netdevs[devname].unsetDNS()
if nameservers:
- self.anaconda.network.setDNS(nameservers, devname)
+ self.netdevs[devname].setDNS(nameservers)
dev.set(('ONBOOT', 'yes'))