diff options
author | Greg Ward <gward@python.net> | 2000-09-30 18:27:54 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-09-30 18:27:54 (GMT) |
commit | cb1f4c4d33711a964dcd40b32a562e2acf745fc2 (patch) | |
tree | 3e8bd80543d1b5e6c843087678194fa1608d13e6 /Lib/distutils/command/clean.py | |
parent | 963cd2d85d26467f60a3c03b5025fddfff0cd80c (diff) | |
download | cpython-cb1f4c4d33711a964dcd40b32a562e2acf745fc2.zip cpython-cb1f4c4d33711a964dcd40b32a562e2acf745fc2.tar.gz cpython-cb1f4c4d33711a964dcd40b32a562e2acf745fc2.tar.bz2 |
Standardized whitespace around function calls.
Diffstat (limited to 'Lib/distutils/command/clean.py')
-rw-r--r-- | Lib/distutils/command/clean.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Lib/distutils/command/clean.py b/Lib/distutils/command/clean.py index 4f04f08..fb8822f 100644 --- a/Lib/distutils/command/clean.py +++ b/Lib/distutils/command/clean.py @@ -50,29 +50,29 @@ class clean (Command): def run(self): # remove the build/temp.<plat> directory (unless it's already # gone) - if os.path.exists (self.build_temp): - remove_tree (self.build_temp, self.verbose, self.dry_run) + if os.path.exists(self.build_temp): + remove_tree(self.build_temp, self.verbose, self.dry_run) else: - self.warn ("'%s' does not exist -- can't clean it" % - self.build_temp) + self.warn("'%s' does not exist -- can't clean it" % + self.build_temp) if self.all: # remove build directories for directory in (self.build_lib, self.bdist_base, self.build_scripts): - if os.path.exists (directory): - remove_tree (directory, self.verbose, self.dry_run) + if os.path.exists(directory): + remove_tree(directory, self.verbose, self.dry_run) else: - self.warn ("'%s' does not exist -- can't clean it" % - directory) + self.warn("'%s' does not exist -- can't clean it" % + directory) # just for the heck of it, try to remove the base build directory: # we might have emptied it right now, but if not we don't care if not self.dry_run: try: - os.rmdir (self.build_base) - self.announce ("removing '%s'" % self.build_base) + os.rmdir(self.build_base) + self.announce("removing '%s'" % self.build_base) except OSError: pass |