mirror of
https://github.com/google/brotli.git
synced 2026-04-05 21:52:51 +00:00
Lint
PiperOrigin-RevId: 882767063
This commit is contained in:
committed by
Copybara-Service
parent
0ed4268a44
commit
9e558dd5c2
@@ -147,4 +147,4 @@ def test_concurrency():
|
||||
thread.start()
|
||||
for thread in threads:
|
||||
thread.join()
|
||||
assert sorted(list(results.queue)) == [1, 2, 3, 4]
|
||||
assert sorted(results.queue) == [1, 2, 3, 4]
|
||||
|
||||
@@ -165,4 +165,4 @@ def test_concurrency():
|
||||
thread.start()
|
||||
for thread in threads:
|
||||
thread.join()
|
||||
assert sorted(list(results.queue)) == [1, 2, 3, 4]
|
||||
assert sorted(results.queue) == [1, 2, 3, 4]
|
||||
|
||||
5
setup.py
5
setup.py
@@ -75,10 +75,7 @@ class BuildExt(build_ext.build_ext):
|
||||
LOGGER.debug("skipping '%s' extension (up-to-date)", ext.name)
|
||||
return
|
||||
|
||||
c_sources = []
|
||||
for source in ext.sources:
|
||||
if source.endswith(".c"):
|
||||
c_sources.append(source)
|
||||
c_sources = [source for source in ext.sources if source.endswith(".c")]
|
||||
extra_args = ext.extra_compile_args or []
|
||||
|
||||
objects = []
|
||||
|
||||
Reference in New Issue
Block a user