summaryrefslogtreecommitdiffstats
path: root/editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'editor.py')
-rw-r--r--editor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor.py b/editor.py
index 883a1a83..96d7ce4c 100644
--- a/editor.py
+++ b/editor.py
@@ -21,6 +21,7 @@ import subprocess
21import tempfile 21import tempfile
22 22
23from error import EditorError 23from error import EditorError
24import platform_utils
24 25
25class Editor(object): 26class Editor(object):
26 """Manages the user's preferred text editor.""" 27 """Manages the user's preferred text editor."""
@@ -107,4 +108,4 @@ least one of these before using this command.""", file=sys.stderr)
107 finally: 108 finally:
108 if fd: 109 if fd:
109 os.close(fd) 110 os.close(fd)
110 os.remove(path) 111 platform_utils.remove(path)