Also fixed a UserError typo in import_xml.py.
--- /dev/null
+Hello!
+
+--- 8< ---
+$ be comment b35
+ERROR:
+No comment supplied, and EDITOR not specified.
+--- >8 ---
+
+When EDITOR enviroment variable not set try to use vi editor as default editor
--- /dev/null
+Alt-id: <201003161610.10674.antonbatenev@yandex.ru>
+
+
+Author: Anton Batenev <antonbatenev@yandex.ru>
+
+
+Content-type: text/plain
+
+
+Date: Tue, 16 Mar 2010 20:10:10 +0000
+
--- /dev/null
+I agree with Ben. Setting status to "wontfix".
--- /dev/null
+Author: W. Trevor King <wking@drexel.edu>
+
+
+Content-type: text/plain
+
+
+Date: Fri, 19 Mar 2010 06:17:38 +0000
+
+
+In-reply-to: 5e8d490e-ee06-4403-96dd-ad8eac66b21c
+
--- /dev/null
+Anton Batenev <antonbatenev@yandex.ru> writes:
+
+> --- 8< ---
+> $ be comment b35
+> ERROR:
+> No comment supplied, and EDITOR not specified.
+> --- >8 ---
+>
+> When EDITOR enviroment variable not set try to use vi editor as
+> default editor
+
+-1. It's up to the local operating system configuration to set a default
+EDITOR value, and up to the user to over-ride that if they want to. An
+application shouldn't be guessing in the absence of those conventions.
+
+The behaviour is clear and the message provides a way for the user to
+rectify the problem in a standard way. It doesn't need to change.
--- /dev/null
+Alt-id: <877hp9w0zy.fsf@benfinney.id.au>
+
+
+Author: Ben Finney <bignose+hates-spam@benfinney.id.au>
+
+
+Content-type: text/plain
+
+
+Date: Fri, 19 Mar 2010 16:31:29 +0000
+
+
+In-reply-to: <201003161610.10674.antonbatenev@yandex.ru>
+
--- /dev/null
+creator: W. Trevor King <wking@drexel.edu>
+
+
+reporter: Anton Batenev <abbat@abbat>
+
+
+severity: minor
+
+
+status: wontfix
+
+
+summary: Set a default EDITOR incase the user has not
+
+
+time: Fri, 19 Mar 2010 06:11:12 +0000
+
accept_comments = True
if len(root_comments) > 0:
if croot_bug == None:
- raise UserError(
+ raise libbe.command.UserError(
'--comment-root option is required for your root comments:\n%s'
% '\n\n'.join([c.string() for c in root_comments]))
try: