diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2022-07-31 07:30:07 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2022-07-31 07:30:07 +0200 |
commit | 9366abc7d6700da7c98b3b1f169e4f2bfac28c54 (patch) | |
tree | 1dc7735556a9f1835aaf82a41bf56f069923ea82 | |
parent | 65ff43ed9ce7f90ae80afd83702e84ad98f4241a (diff) | |
download | cython-9366abc7d6700da7c98b3b1f169e4f2bfac28c54.tar.gz |
Fix code style.3.0.0a11
-rw-r--r-- | Cython/Distutils/old_build_ext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Distutils/old_build_ext.py b/Cython/Distutils/old_build_ext.py index 3595d80e0..cec54d93d 100644 --- a/Cython/Distutils/old_build_ext.py +++ b/Cython/Distutils/old_build_ext.py @@ -321,8 +321,8 @@ class old_build_ext(_build_ext.build_ext): for source in cython_sources: target = cython_targets[source] depends = [source] + list(extension.depends or ()) - if(source[-4:].lower()==".pyx" and os.path.isfile(source[:-3]+"pxd")): - depends += [source[:-3]+"pxd"] + if source[-4:].lower() == ".pyx" and os.path.isfile(source[:-3] + "pxd"): + depends += [source[:-3] + "pxd"] rebuild = self.force or newer_group(depends, target, 'newer') if not rebuild and newest_dependency is not None: rebuild = newer(newest_dependency, target) |