diff options
| author | klm | 1998-12-01 20:11:09 +0000 |
|---|---|---|
| committer | klm | 1998-12-01 20:11:09 +0000 |
| commit | e142aab23126ddacf0fcc7a1948de2b80365e2d4 (patch) | |
| tree | 891d28380a9a9e2c60f78fdeaec4fc1b10728804 /bin | |
| parent | 9ff75c0a8cf21d3b1f78781ce6f856b72f427fd5 (diff) | |
| download | mailman-e142aab23126ddacf0fcc7a1948de2b80365e2d4.tar.gz mailman-e142aab23126ddacf0fcc7a1948de2b80365e2d4.tar.zst mailman-e142aab23126ddacf0fcc7a1948de2b80365e2d4.zip | |
Unpack of the wrong-size argument list yields a ValueError, not an
IndexError. (I left the IndexError on the exception list in case
there's some other purpose to it...)
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/arch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ from Mailman.Errors import * try: listname, mbox = sys.argv[1:] -except IndexError: +except (IndexError, ValueError): print "usage: arch <listname> <mbox>" sys.exit(0) |
