diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | conf.c | 7 |
2 files changed, 7 insertions, 1 deletions
@@ -5,6 +5,7 @@ * Updated Danish translation from Byrial Jensen. * Fixed bug in NTLM support. Separately, "auth ntlm" now works. * Imail server added to test list. +* Don't require Tkinter to read --configdump output. fetchmail-5.6.8 (Thu Feb 22 02:57:31 EST 2001), 20110 lines: @@ -126,7 +126,12 @@ void dump_config(struct runctl *runp, struct query *querylist) indent_level = 0; - fputs("from Tkinter import TRUE, FALSE\n\n", stdout); + /* + * These had better match the values fetchmailconf is expecting! + * (We don't want to import them from Tkinter because the user + * might not have it installed.) + */ + fputs("TRUE=1; FALSE=0\n\n", stdout); /* * We need this in order to know whether `interface' and `monitor' |