From 1ee78408cd4a44736124e784f42fee223286ddbf Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 24 Jan 2020 23:37:27 +0000 Subject: fetchmailconf: Omit unused 'parent' argument from RunWindow() constructor --- fetchmailconf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fetchmailconf.py b/fetchmailconf.py index fef36fc5..6cf9ffe7 100755 --- a/fetchmailconf.py +++ b/fetchmailconf.py @@ -1924,7 +1924,7 @@ return to the main panel. # Run a command in a scrolling text widget, displaying its output class RunWindow(Frame): - def __init__(self, command, master, parent): + def __init__(self, command, master): Frame.__init__(self, master) self.master = master self.master.title('fetchmail run window') @@ -2023,13 +2023,13 @@ Or you can just select `Quit' to exit the launcher now. cmd = "fetchmail -N -d0 --nosyslog -v" if rcfile: cmd = cmd + " -f " + rcfile - RunWindow(cmd, Toplevel(), self) + RunWindow(cmd, Toplevel()) def run(self): cmd = "fetchmail -N -d0" if rcfile: cmd = cmd + " -f " + rcfile - RunWindow(cmd, Toplevel(), self) + RunWindow(cmd, Toplevel()) def leave(self): self.quit() -- cgit v1.2.3