Skip to content

Commit 5a32ae6

Browse files
committed
remove un-needed function
1 parent 4b57f3e commit 5a32ae6

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

editor.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ def get_editor_args(editor):
5151
return []
5252

5353

54-
def get_platform_editor_var():
55-
# TODO: Make platform specific
56-
return "$EDITOR"
57-
58-
5954
def get_editor():
6055
# Get the editor from the environment. Prefer VISUAL to EDITOR
6156
editor = os.environ.get('VISUAL') or os.environ.get('EDITOR')
@@ -69,7 +64,7 @@ def get_editor():
6964
return path
7065

7166
raise EditorError("Unable to find a viable editor on this system."
72-
"Please consider setting your %s variable" % get_platform_editor_var())
67+
"Please consider setting your $EDITOR variable")
7368

7469

7570
def get_tty_filename():

0 commit comments

Comments
 (0)