diff options
author | 2017-02-06 10:27:09 -0800 | |
---|---|---|
committer | 2017-02-06 10:27:09 -0800 | |
commit | 2fa5f2f978fc68c732d6bfd35bcde1c7e7e4cf22 (patch) | |
tree | 5847db94b9edc86826e742761b938944a592c2a7 /src/python/grpcio/commands.py | |
parent | 26623b3d77ae78e66f66b996593acf57a7cf1197 (diff) |
Re-run yapf code, and pin version
Diffstat (limited to 'src/python/grpcio/commands.py')
-rw-r--r-- | src/python/grpcio/commands.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py index d813df5f44..e50ccbe23e 100644 --- a/src/python/grpcio/commands.py +++ b/src/python/grpcio/commands.py @@ -205,9 +205,7 @@ def check_and_update_cythonization(extensions): base, file_ext = os.path.splitext(source) if file_ext == '.pyx': generated_pyx_source = next((base + gen_ext - for gen_ext in ( - '.c', - '.cpp',) + for gen_ext in ('.c', '.cpp',) if os.path.isfile(base + gen_ext)), None) if generated_pyx_source: |