aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/command')
-rw-r--r--libbe/command/comment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbe/command/comment.py b/libbe/command/comment.py
index cb46398..6ab588f 100644
--- a/libbe/command/comment.py
+++ b/libbe/command/comment.py
@@ -64,6 +64,8 @@ class Comment (libbe.command.Command):
>>> if 'EDITOR' in os.environ:
... del os.environ['EDITOR']
+ >>> if 'VISUAL' in os.environ:
+ ... del os.environ['VISUAL']
>>> ui._user_id = u'Frank'
>>> ret = ui.run(cmd, args=['/b'])
Traceback (most recent call last):
@@ -83,6 +85,7 @@ class Comment (libbe.command.Command):
<BLANKLINE>
>>> ui.cleanup()
>>> bd.cleanup()
+ >>> del os.environ("EDITOR")
"""
name = 'comment'