8000 Fix undefined `log.warning` function in `bdist_wheel` (#4427) · pypa/setuptools@0f8c58d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f8c58d

Browse files
authored
Fix undefined log.warning function in bdist_wheel (#4427)
2 parents 2299319 + 63a2eb3 commit 0f8c58d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

setuptools/command/bdist_wheel.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,7 @@ def finalize_options(self):
284284
wheel = self.distribution.get_option_dict("wheel")
285285
if "universal" in wheel:
286286
# please don't define this in your global configs
287-
log.warning(
288-
"The [wheel] section is deprecated. Use [bdist_wheel] instead.",
289-
)
287+
log.warn("The [wheel] section is deprecated. Use [bdist_wheel] instead.")
290288
val = wheel["universal"][1].strip()
291289
if val.lower() in ("1", "true", "yes"):
292290
self.universal = True

0 commit comments

Comments
 (0)
0