Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a683233

Browse files
committed
Change warning to debug level; it's a very minor issue.
The specific warning is that clean didn't find a directory that should be removed if it exists.
1 parent 065c1a2 commit a683233

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/distutils/command/clean.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def run(self):
5454
if os.path.exists(self.build_temp):
5555
remove_tree(self.build_temp, dry_run=self.dry_run)
5656
else:
57-
log.warn("'%s' does not exist -- can't clean it",
58-
self.build_temp)
57+
log.debug("'%s' does not exist -- can't clean it",
58+
self.build_temp)
5959

6060
if self.all:
6161
# remove build directories

0 commit comments

Comments
 (0)