diff options
author | Mike Fulbright <msf@redhat.com> | 2003-01-03 23:52:52 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-01-03 23:52:52 +0000 |
commit | 23b25ecbe449be53b93aa52d2a63ab7ba6bd2743 (patch) | |
tree | 19c675b63daeb37b5cd77941c7138531294eb09f /textw | |
parent | 49d2253e0d2a93fefdac083287c04c4946771445 (diff) | |
download | anaconda-23b25ecbe449be53b93aa52d2a63ab7ba6bd2743.tar.gz anaconda-23b25ecbe449be53b93aa52d2a63ab7ba6bd2743.tar.xz anaconda-23b25ecbe449be53b93aa52d2a63ab7ba6bd2743.zip |
changed arg we passed to be more specific
Diffstat (limited to 'textw')
-rw-r--r-- | textw/network_text.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/textw/network_text.py b/textw/network_text.py index bfceaca67..b9305475a 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -174,7 +174,7 @@ class NetworkWindow: return INSTALL_BACK return INSTALL_OK - def __call__(self, screen, network, dispatch, intf): + def __call__(self, screen, network, dir, intf): devices = network.available () if not devices: @@ -183,7 +183,7 @@ class NetworkWindow: list = devices.keys () list.sort() devLen = len(list) - if dispatch.dir == 1: + if dir == 1: currentDev = 0 else: currentDev = devLen - 1 @@ -201,7 +201,7 @@ class NetworkWindow: return INSTALL_OK class HostnameWindow: - def __call__(self, screen, network, dispatch, intf): + def __call__(self, screen, network, dir, intf): devices = network.available () if not devices: return INSTALL_NOOP |