Commit 3fe6bc8f by AJ Kerrigan Committed by Sébastien Eustace

Remove duplicate customize_install function (#540)

Fix a couple minor typos while we're at it
parent 22dfb29b
...@@ -412,7 +412,7 @@ class Installer: ...@@ -412,7 +412,7 @@ class Installer:
def customize_install(self): def customize_install(self):
if not self._accept_all: if not self._accept_all:
print("Before we start, please answer the following questions.") print("Before we start, please answer the following questions.")
print("You may simple press the Enter key to keave unchanged.") print("You may simply press the Enter key to leave unchanged.")
modify_path = input("Modify PATH variable? ([y]/n) ") or "y" modify_path = input("Modify PATH variable? ([y]/n) ") or "y"
if modify_path.lower() in {"n", "no"}: if modify_path.lower() in {"n", "no"}:
...@@ -434,17 +434,6 @@ class Installer: ...@@ -434,17 +434,6 @@ class Installer:
return True return True
def customize_install(self):
if not self._accept_all:
print("Before we start, please answer the following questions.")
print("You may simple press the Enter key to keave unchanged.")
modify_path = input("Modify PATH variable? ([y]/n) ") or "y"
if modify_path.lower() in {"n", "no"}:
self._modify_path = False
print("")
def ensure_home(self): def ensure_home(self):
""" """
Ensures that $POETRY_HOME exists or create it. Ensures that $POETRY_HOME exists or create it.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment