Re: rev 164 - in offlineimap/head: . debian offlineimap
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Jul 22, 2002 at 03:48:17PM -0500, jgoerzen@xxxxxxxxxxxxxxxxxxxx wrote:
> + if not '-1' in options:
> + sys.stderr.write("FATAL: profile mode REQUIRES -1\n")
> + sys.exit(100)
Yow. Why not just *set* -1 when -P is detected? That is the usual
convention; "When using this option, the -1 option is assumed".
A simple:
if not '-1' in options: options.append('-1')
should suffice.
--
Martijn Pieters
| Software Engineer mailto:mj@xxxxxxxx
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
---------------------------------------------
- Re: rev 164 - in offlineimap/head: . debian offlineimap,
Martijn Pieters <=
|
|