aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-28 11:00:27 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-28 11:00:27 -0500
commit791eb3fb381f48feaa3653d1889971630db210fe (patch)
tree095c38ce0065b00a4a6a3f025ea8d63b95858059
parenta4e704d5f2dcd557bf7789ad8e1e53708f2bccdc (diff)
parent9e264f197e550ee70f1e40e311bead7778d959d4 (diff)
downloadbugseverywhere-791eb3fb381f48feaa3653d1889971630db210fe.tar.gz
Merged with be.wtk trunk
-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'