diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-09-28 01:17:49 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-09-28 01:17:49 +0000 |
commit | e4bcfe6fdf5b66e260bbc51ff764d4e1f72df86c (patch) | |
tree | 94ad2112eb6b3a77de61d7ba910a8e1317981df8 | |
parent | add1ce76189c5c230abeffab2c6496feff3d7bef (diff) | |
download | fetchmail-e4bcfe6fdf5b66e260bbc51ff764d4e1f72df86c.tar.gz fetchmail-e4bcfe6fdf5b66e260bbc51ff764d4e1f72df86c.tar.bz2 fetchmail-e4bcfe6fdf5b66e260bbc51ff764d4e1f72df86c.zip |
Put self.service check back in that got removed, it's still needed.
svn path=/trunk/; revision=4352
-rwxr-xr-x | fetchmailconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
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` |