diff options
author | Aaron Bentley <aaron.bentley@utoronto.ca> | 2005-12-22 02:59:52 -0500 |
---|---|---|
committer | Aaron Bentley <aaron.bentley@utoronto.ca> | 2005-12-22 02:59:52 -0500 |
commit | e2965575907ff05a7249a3a213e0dce8a8217ef9 (patch) | |
tree | 64acf8b2bbc4a16daefb6ed2a98a897d503080b8 /libbe/utility.py | |
parent | 2a0112fb5e5a3cb553a3ff0c7347247b2221b03f (diff) | |
download | bugseverywhere-e2965575907ff05a7249a3a213e0dce8a8217ef9.tar.gz |
Various Windows-related bugfixes
Diffstat (limited to 'libbe/utility.py')
-rw-r--r-- | libbe/utility.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/utility.py b/libbe/utility.py index 3d805cd..e62f2cd 100644 --- a/libbe/utility.py +++ b/libbe/utility.py @@ -102,7 +102,8 @@ def editor_string(): """Invokes the editor, and returns the user_produced text as a string - >>> del os.environ["EDITOR"] + >>> if "EDITOR" in os.environ: + ... del os.environ["EDITOR"] >>> editor_string() Traceback (most recent call last): CantFindEditor: Can't find editor to get string from |