Re: Re: [PATCH] %default keyword expansion
John Belmonte <[email protected]> Mon, 17 May 2004 00:22:57 -0400
| Newsgroups | gmane.comp.python.optik.user |
|---|---|
| Message-ID | <[email protected]> |
> self.add_option( > '--delay', > type='duration', > # oops, default doesn't run through type checker > #default='5m', > default=60, > help='self destruct delay [default: %default]') Here I am proving my own point: '5m' translates to 300, not 60. -John -- http:// ift ile.org/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click