From 23b25ecbe449be53b93aa52d2a63ab7ba6bd2743 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Fri, 3 Jan 2003 23:52:52 +0000 Subject: changed arg we passed to be more specific --- textw/network_text.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'textw') 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 -- cgit