Package: archivemail
Version: 0.6.2-2
Severity: normal
Tags: patch

The new options --pwfile and --filter-append should take parameters,
just as the corresponding short options do, but the call to getopt()
contains a simple error causing archivemail to error out.  This is fixed
by the attached patch.

    The patch was made against current upstream SVN, but the offsets
corrected to match the Debian package in unstable. 

Nikolaus
Index: archivemail.py
===================================================================
--- archivemail.py      (revision 102)
+++ archivemail.py      (working copy)
@@ -177,7 +177,7 @@
                              ["date=", "days=", "delete", "dry-run", "help",
                              "include-flagged", "no-compress", "output-dir=",
                              "archive-name=",
-                             "filter-append", "pwfile",
+                             "filter-append=", "pwfile=",
                              "preserve-unread", "quiet", "size=", "suffix=",
                              "verbose", "version", "warn-duplicate"])
         except getopt.error, msg:

Reply via email to