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:
parent
d80a3b7457
commit
2f4e479ad1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user