diff options
author | Nikolaus Schulz <microschulz@web.de> | 2007-11-02 21:06:59 +0000 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2007-11-02 21:06:59 +0000 |
commit | 59e9715021ad90fb9a7692318e04cb7426bf8f5e (patch) | |
tree | 0b8c991ae6abf29f8c1f130de12132bb76a9ff79 | |
parent | e25367fcb8ecc4654f0709b5901622b46b9f9d45 (diff) | |
download | archivemail-59e9715021ad90fb9a7692318e04cb7426bf8f5e.tar.gz archivemail-59e9715021ad90fb9a7692318e04cb7426bf8f5e.tar.bz2 archivemail-59e9715021ad90fb9a7692318e04cb7426bf8f5e.zip |
Expand tilde in argument of long option --pwfile.
-rw-r--r-- | CHANGELOG | 2 | ||||
-rwxr-xr-x | archivemail.py | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -19,6 +19,8 @@ Version 0.7.1 - UNRELEASED actually switched them before. Closes: #1762907 * The automatic seteuid feature of archivemail is insecure and thus 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 * Fixed long options --filter-append and --pwfile to accept their arguments. diff --git a/archivemail.py b/archivemail.py index d0e1578..b52187e 100755 --- a/archivemail.py +++ b/archivemail.py @@ -242,7 +242,7 @@ class Options: if o in ('-o', '--output-dir'): self.output_dir = os.path.expanduser(a) if o in ('-P', '--pwfile'): - self.pwfile = a + self.pwfile = os.path.expanduser(a) if o in ('-F', '--filter-append'): self.filter_append = a if o in ('-h', '-?', '--help'): |