summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2019-04-30 11:44:01 -0700
committerGitHub <noreply@github.com>2019-04-30 11:44:01 -0700
commit48ec46ca927befcd1cc21ddbbdcd03b5b42dcba9 (patch)
treefcf855ea82e3e380c08d920be037bd6083205874
parent9d48066e7e3418c491125342aa763ba84aa66cab (diff)
downloadisort-48ec46ca927befcd1cc21ddbbdcd03b5b42dcba9.tar.gz
Update format.py
-rw-r--r--isort/format.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/isort/format.py b/isort/format.py
index c5c99f1d..e008eab0 100644
--- a/isort/format.py
+++ b/isort/format.py
@@ -45,10 +45,10 @@ def show_unified_diff(*, file_input: str, file_output: str, file_path: Optional[
sys.stdout.write(line)
-def ask_whether_to_apply_changes_to_file(fpath: str) -> bool:
+def ask_whether_to_apply_changes_to_file(file_path: str) -> bool:
answer = None
while answer not in ('yes', 'y', 'no', 'n', 'quit', 'q'):
- answer = input("Apply suggested changes to '{0}' [y/n/q]? ".format(fpath)).lower()
+ answer = input("Apply suggested changes to '{0}' [y/n/q]? ".format(file_path)).lower()
if answer in ('no', 'n'):
return False
if answer in ('quit', 'q'):