Skip to content

Commit 9b2de37

Browse files
pipcl.py
1 parent 84408eb commit 9b2de37

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pipcl.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ def wheel_name_match(self, wheel):
834834
self: foo-cp38-none-manylinux2014_x86_64.whl
835835
wheel: foo-cp38-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
836836
'''
837-
log2(f'{wheel=}')
837+
log1(f'{wheel=}')
838838
assert wheel.endswith('.whl')
839839
wheel2 = wheel[:-len('.whl')]
840840
name, version, tag_python, tag_abi, tag_platform = wheel2.split('-')
@@ -849,25 +849,25 @@ def wheel_name_match(self, wheel):
849849
if tag_python_int <= tag_python_int_self:
850850
# This wheel uses Python stable ABI same or older than ours, so
851851
# we can use it.
852-
log2(f'py_limited_api; {tag_python=} compatible with {self.tag_python()=}.')
852+
log1(f'py_limited_api; {tag_python=} compatible with {self.tag_python()=}.')
853853
py_limited_api_compatible = True
854854

855-
log2(f'{self.name == name=}')
856-
log2(f'{self.version == version=}')
857-
log2(f'{self.tag_python() == tag_python=} {self.tag_python()=} {tag_python=}')
858-
log2(f'{py_limited_api_compatible=}')
859-
log2(f'{self.tag_abi() == tag_abi=}')
860-
log2(f'{self.tag_platform() in tag_platform.split(".")=}')
861-
log2(f'{self.tag_platform()=}')
862-
log2(f'{tag_platform.split(".")=}')
855+
log1(f'{self.name == name=}')
856+
log1(f'{self.version == version=}')
857+
log1(f'{self.tag_python() == tag_python=} {self.tag_python()=} {tag_python=}')
858+
log1(f'{py_limited_api_compatible=}')
859+
log1(f'{self.tag_abi() == tag_abi=}')
860+
log1(f'{self.tag_platform() in tag_platform.split(".")=}')
861+
log1(f'{self.tag_platform()=}')
862+
log1(f'{tag_platform.split(".")=}')
863863
ret = (1
864864
and self.name == name
865865
and self.version == version
866866
and (self.tag_python() == tag_python or py_limited_api_compatible)
867867
and self.tag_abi() == tag_abi
868868
and self.tag_platform() in tag_platform.split('.')
869869
)
870-
log2(f'Returning {ret=}.')
870+
log1(f'Returning {ret=}.')
871871
return ret
872872

873873
def _entry_points_text(self):

0 commit comments

Comments
 (0)