From 1269bcd0483a10c0dd5c31d428b445c950153a78 Mon Sep 17 00:00:00 2001 From: Dan O'Reilly Date: Mon, 19 Jan 2009 23:45:05 -0500 Subject: [PATCH] Fix a few typos in the option gateway code. --- wicd/gui.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wicd/gui.py b/wicd/gui.py index b630d15..b0a2687 100644 --- a/wicd/gui.py +++ b/wicd/gui.py @@ -561,11 +561,12 @@ class appGui(object): def save_settings(self, nettype, networkid, networkentry): """ Verifies and saves the settings for the network entry. """ entry = networkentry.advanced_dialog - entlist = [] + opt_entlist = [] + req_entlist = [] # First make sure all the Addresses entered are valid. if entry.chkbox_static_ip.get_active(): - req_entlist = [entry.txt_ip, enty.txt_netmask] + req_entlist = [entry.txt_ip, entry.txt_netmask] opt_entlist = [entry.txt_gateway] if entry.chkbox_static_dns.get_active() and \