mirror of
https://git.code.sf.net/p/archivemail/code
synced 2024-12-22 15:56:27 +00:00
Expand tilde in argument of long option --pwfile.
This commit is contained in:
parent
e25367fcb8
commit
59e9715021
2 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@ Version 0.7.1 - UNRELEASED
|
||||||
actually switched them before. Closes: #1762907
|
actually switched them before. Closes: #1762907
|
||||||
* The automatic seteuid feature of archivemail is insecure and thus
|
* The automatic seteuid feature of archivemail is insecure and thus
|
||||||
deprecated; it will be removed from later versions.
|
deprecated; it will be removed from later versions.
|
||||||
|
* Expand tilde in argument of long option --pwfile. (Thanks Christian
|
||||||
|
Brabandt) Closes: Debian bug #434813
|
||||||
|
|
||||||
Version 0.7.0 - 2 November 2006
|
Version 0.7.0 - 2 November 2006
|
||||||
* Fixed long options --filter-append and --pwfile to accept their arguments.
|
* Fixed long options --filter-append and --pwfile to accept their arguments.
|
||||||
|
|
|
@ -242,7 +242,7 @@ class Options:
|
||||||
if o in ('-o', '--output-dir'):
|
if o in ('-o', '--output-dir'):
|
||||||
self.output_dir = os.path.expanduser(a)
|
self.output_dir = os.path.expanduser(a)
|
||||||
if o in ('-P', '--pwfile'):
|
if o in ('-P', '--pwfile'):
|
||||||
self.pwfile = a
|
self.pwfile = os.path.expanduser(a)
|
||||||
if o in ('-F', '--filter-append'):
|
if o in ('-F', '--filter-append'):
|
||||||
self.filter_append = a
|
self.filter_append = a
|
||||||
if o in ('-h', '-?', '--help'):
|
if o in ('-h', '-?', '--help'):
|
||||||
|
|
Loading…
Reference in a new issue