aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/ui/util/editor.py
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2012-01-02 15:43:30 -0500
committerChris Ball <cjb@laptop.org>2012-01-02 15:43:30 -0500
commitf0011cf09d1385f983853b1d11ae5573148139bb (patch)
treedf20d8d032fc4ecf7cd4344c6e4c6262679f90a9 /libbe/ui/util/editor.py
parentb1527580ece00959b9e9d90e8f0f7dd1bce0342a (diff)
parent6f2d652b2697d7aec6bb48a2bf4d6fff1ef03521 (diff)
downloadbugseverywhere-f0011cf09d1385f983853b1d11ae5573148139bb.tar.gz
Merge http://www.physics.drexel.edu/~wking/code/git/be
Diffstat (limited to 'libbe/ui/util/editor.py')
-rw-r--r--libbe/ui/util/editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/ui/util/editor.py b/libbe/ui/util/editor.py
index 206e9c4..fb51159 100644
--- a/libbe/ui/util/editor.py
+++ b/libbe/ui/util/editor.py
@@ -65,7 +65,7 @@ def editor_string(comment=None, encoding=None):
>>> del os.environ["VISUAL"]
"""
if encoding == None:
- encoding = libbe.util.encoding.get_filesystem_encoding()
+ encoding = libbe.util.encoding.get_text_file_encoding()
editor = None
for name in ('VISUAL', 'EDITOR'):
if name in os.environ and os.environ[name] != '':