diff options
Diffstat (limited to 'editor.py')
-rw-r--r-- | editor.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ import subprocess | |||
21 | import tempfile | 21 | import tempfile |
22 | 22 | ||
23 | from error import EditorError | 23 | from error import EditorError |
24 | import platform_utils | ||
24 | 25 | ||
25 | class Editor(object): | 26 | class 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) |