From b188c8ba8383754e5f3f8ec3cc0965498edaddd9 Mon Sep 17 00:00:00 2001 From: "Rahul M. Juliato" Date: Mon, 26 Apr 2021 12:05:41 -0300 Subject: [PATCH] Decaptalized file name in log msg When trying to generate requirements.txt and file is already existent, the user message produced asks for "Requirements.txt" instead of "requirements.txt". This may cause some trouble when used in case sensitive env, as well as in automated scripts. --- pipreqs/pipreqs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipreqs/pipreqs.py b/pipreqs/pipreqs.py index 20aae68..6c936aa 100644 --- a/pipreqs/pipreqs.py +++ b/pipreqs/pipreqs.py @@ -469,7 +469,7 @@ def init(args): and not args["--savepath"] and not args["--force"] and os.path.exists(path)): - logging.warning("Requirements.txt already exists, " + logging.warning("requirements.txt already exists, " "use --force to overwrite it") return