1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 22:56:15 +01:00

Restore start symbol check

This commit is contained in:
ila 2024-08-16 01:56:41 +04:00 committed by Daniel Mach
parent d80a3b7457
commit 2f4e479ad1

View File

@ -161,6 +161,9 @@ class Ar:
h.file = h.file[:-1] h.file = h.file[:-1]
continue continue
if not h.file.startswith(b'/'):
continue
# long file name # long file name
assert h.file[0:1] == b"/" assert h.file[0:1] == b"/"
assert ext_fnhdr_data is not None assert ext_fnhdr_data is not None