From e4bcfe6fdf5b66e260bbc51ff764d4e1f72df86c Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 28 Sep 2005 01:17:49 +0000 Subject: Put self.service check back in that got removed, it's still needed. svn path=/trunk/; revision=4352 --- fetchmailconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetchmailconf.py b/fetchmailconf.py index 1faf9b78..571e18fb 100755 --- a/fetchmailconf.py +++ b/fetchmailconf.py @@ -132,7 +132,7 @@ class Server: res = res + (" via " + str(self.via) + "\n"); if self.protocol != ServerDefaults.protocol: res = res + " with proto " + self.protocol - if self.protocol and self.service != defaultports[self.protocol] and defaultports[self.protocol] and self.service != ianaservices[defaultports[self.protocol]]: + if self.service and self.protocol and self.service != defaultports[self.protocol] and defaultports[self.protocol] and self.service != ianaservices[defaultports[self.protocol]]: res = res + " service " + self.service if self.timeout != ServerDefaults.timeout: res = res + " timeout " + `self.timeout` -- cgit v1.2.3