Exception thrown when port is not specified
Sebastian Spaeth
Sebastian at SSpaeth.de
Fri Sep 30 10:01:24 BST 2011
On Thu, 29 Sep 2011 12:05:59 -0600, Iain Dalton <iain.dalton at gmail.com> wrote:
> Line 235 of offlineimap/ui/UIBase.py is:
>
> port = "%d" % port if port else ''
> port = "%d" % port or DEFAULT_PORT
Thanks for reporting. port can indeed be None (in the pre-auth tunnel
cases).
Pushed:
- port = "%d" % port if port else ''
+ port = "%s" % port if port else ''
which works in all cases.
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110930/5751caf8/attachment-0001.sig>
More information about the OfflineIMAP-project
mailing list