mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Standardized whitespace around function calls.
This commit is contained in:
parent
963cd2d85d
commit
cb1f4c4d33
14 changed files with 338 additions and 339 deletions
|
@ -56,8 +56,8 @@ class bdist_wininst (Command):
|
||||||
if self.distribution.has_ext_modules():
|
if self.distribution.has_ext_modules():
|
||||||
short_version = sys.version[:3]
|
short_version = sys.version[:3]
|
||||||
if self.target_version and self.target_version != short_version:
|
if self.target_version and self.target_version != short_version:
|
||||||
raise DistutilsOptionError ("target version can only be" +
|
raise DistutilsOptionError, \
|
||||||
short_version)
|
"target version can only be" + short_version
|
||||||
self.target_version = short_version
|
self.target_version = short_version
|
||||||
|
|
||||||
self.set_undefined_options('bdist', ('dist_dir', 'dist_dir'))
|
self.set_undefined_options('bdist', ('dist_dir', 'dist_dir'))
|
||||||
|
|
|
@ -132,8 +132,7 @@ class build_ext (Command):
|
||||||
if self.include_dirs is None:
|
if self.include_dirs is None:
|
||||||
self.include_dirs = self.distribution.include_dirs or []
|
self.include_dirs = self.distribution.include_dirs or []
|
||||||
if type(self.include_dirs) is StringType:
|
if type(self.include_dirs) is StringType:
|
||||||
self.include_dirs = string.split (self.include_dirs,
|
self.include_dirs = string.split(self.include_dirs, os.pathsep)
|
||||||
os.pathsep)
|
|
||||||
|
|
||||||
# Put the Python "system" include dir at the end, so that
|
# Put the Python "system" include dir at the end, so that
|
||||||
# any local include dirs take precedence.
|
# any local include dirs take precedence.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue