From 2a1838b9dfa6f825ee272ec8bef683394e845830 Mon Sep 17 00:00:00 2001 From: Andrew Kuchling Date: Sun, 10 Nov 2013 18:11:00 -0500 Subject: Issue #19544 and Issue #1180: Restore global option to ignore ~/.pydistutils.cfg in Distutils, accidentally removed in backout of distutils2 changes. --- Lib/distutils/core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Lib/distutils/core.py') diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 91e5132934..c811d5bd9c 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -128,8 +128,9 @@ def setup (**attrs): if _setup_stop_after == "config": return dist - # Parse the command line; any command-line errors are the end user's - # fault, so turn them into SystemExit to suppress tracebacks. + # Parse the command line and override config files; any + # command-line errors are the end user's fault, so turn them into + # SystemExit to suppress tracebacks. try: ok = dist.parse_command_line() except DistutilsArgError as msg: -- cgit v1.2.1