1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-09 22:36:14 +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]
continue
if not h.file.startswith(b'/'):
continue
# long file name
assert h.file[0:1] == b"/"
assert ext_fnhdr_data is not None