mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
General cleanup, raise normalization in Lib/distutils.
This commit is contained in:
parent
a73bfee73d
commit
5b7e9d76f3
47 changed files with 963 additions and 1640 deletions
|
|
@ -4,8 +4,6 @@ Implements the Distutils 'clean' command."""
|
|||
|
||||
# contributed by Bastian Kleineidam <calvin@cs.uni-sb.de>, added 2000-03-18
|
||||
|
||||
# This module should be kept compatible with Python 2.1.
|
||||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
import os
|
||||
|
|
@ -13,7 +11,7 @@ from distutils.core import Command
|
|||
from distutils.dir_util import remove_tree
|
||||
from distutils import log
|
||||
|
||||
class clean (Command):
|
||||
class clean(Command):
|
||||
|
||||
description = "clean up temporary files from 'build' command"
|
||||
user_options = [
|
||||
|
|
@ -78,5 +76,3 @@ class clean (Command):
|
|||
log.info("removing '%s'", self.build_base)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
# class clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue