From 120a9a173a387a1b43c45a33e88c56c43b8cbc1f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 24 Aug 1998 17:22:47 +0000 Subject: Fix fetchmailconf. svn path=/trunk/; revision=2049 --- fetchmailconf | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'fetchmailconf') diff --git a/fetchmailconf b/fetchmailconf index 574c6198..e6043000 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -7,7 +7,7 @@ # # TO DO: Arrange for save and quit buttons to clean up all frames dependent # on the current ones. -version = "1.2" +version = "1.3" from Tkinter import * from Dialog import * @@ -444,10 +444,9 @@ class ListEdit(Frame): if not select: helpwin(listboxhelp) else: - index = string.atoi(select[0]) - if index: - self.listwidget.delete(index) - if self.list != None: del self.list[index] + index = string.atoi(select[0]) + self.listwidget.delete(index) + if self.list != None: del self.list[index] def ConfirmQuit(frame, context): ans = Dialog(frame, -- cgit v1.2.3