aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/email/interactive/README
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-20 17:37:31 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-20 17:37:31 -0400
commitf0ea26424119393a7c4baea4dab215af0c7bc9c4 (patch)
treee0dd15b3ead5ca9ccdcebe31a431bb0fe032c95b /interfaces/email/interactive/README
parent84a9c8a8b93b45940d194ce898f7f3ca2adfe8e4 (diff)
downloadbugseverywhere-f0ea26424119393a7c4baea4dab215af0c7bc9c4.tar.gz
Use shlex.split() to parse control lines in be-handle-mail.
Split arguments following POSIX rather than at all whitespace.
Diffstat (limited to 'interfaces/email/interactive/README')
-rw-r--r--interfaces/email/interactive/README12
1 files changed, 5 insertions, 7 deletions
diff --git a/interfaces/email/interactive/README b/interfaces/email/interactive/README
index 87959e6..8954383 100644
--- a/interfaces/email/interactive/README
+++ b/interfaces/email/interactive/README
@@ -86,12 +86,10 @@ Controlling bugs
This interface consists of a list of allowed be commands, with one
command per line. Blank lines and lines beginning with '#' are
-ignored, as well anything following a line starting with '--'. All the
-listed commands are executed in order and their output returned.
-Note that currently arguments are split on spaces, so
- "John Doe" -> ['"John', 'Doe"']
-I'm thinking about how to fix this, but for the time being it's best
-to avoid spaces.
+ignored, as well anything following a line starting with '--'. All
+the listed commands are executed in order and their output returned.
+The commands are split into arguments with the POSIX-compliant
+shlex.split().
From jdoe@example.com Fri Apr 18 12:00:00 2008
From: John Doe <jdoe@example.com>
@@ -100,7 +98,7 @@ to avoid spaces.
Content-Transfer-Encoding: 8bit
Subject: [be-bug] I'll handle XYZ by release 1.2.3
- assign XYZ John
+ assign XYZ "John Doe <jdoe@example.com>"
status XYZ assigned
severity XYZ critical
target XYZ 1.2.3