diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2020-01-24 23:37:27 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2020-01-24 23:37:27 +0000 |
commit | 1ee78408cd4a44736124e784f42fee223286ddbf (patch) | |
tree | 5482c13bf163c7008a9e077ecce87df6d003750d | |
parent | a4848eb7419f14699f30bc91c7b7f47babc2d088 (diff) | |
download | fetchmail-1ee78408cd4a44736124e784f42fee223286ddbf.tar.gz fetchmail-1ee78408cd4a44736124e784f42fee223286ddbf.tar.bz2 fetchmail-1ee78408cd4a44736124e784f42fee223286ddbf.zip |
fetchmailconf: Omit unused 'parent' argument from RunWindow() constructor
-rwxr-xr-x | fetchmailconf.py | 6 |
1 files 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() |