]> code.delx.au - offlineimap/commit
Fixed locked() for noninteractive UIs
authorJohn Goerzen <jgoerzen@complete.org>
Tue, 9 Oct 2007 23:12:22 +0000 (00:12 +0100)
committerJohn Goerzen <jgoerzen@complete.org>
Tue, 9 Oct 2007 23:12:22 +0000 (00:12 +0100)
commitcdccfd83b1f5e69925fa4b404d03170bd8785e9e
tree6e883efcb37d361071e0dec400728e8fd55d7121
parent3305d8cd4d01a877a044412a6eda94dbbfd5ad56
Fixed locked() for noninteractive UIs

From: "Mark A. Hershberger"

https://bugs.launchpad.net/ubuntu/+source/offlineimap/+bug/96710

the locked() method isn't implemented for non-interactive UIs, so
exceptions are thrown on cron jobs.  Ubuntu's new apport catches these
and ? well, you get the idea.

patch provided.
offlineimap/ui/Noninteractive.py