Skip to content
Snippets Groups Projects
Commit c6153ea8 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Strip "sticky" etc. from "x.deb: sticky Debian binary package […]". Thanks to...

Strip "sticky" etc. from "x.deb: sticky Debian binary package […]". Thanks to David Prévot for the report. (Closes: Debian:#1011635)
parent 5be08156
No related branches found
No related tags found
No related merge requests found
Pipeline #383108 passed
......@@ -402,6 +402,10 @@ class File(metaclass=abc.ABCMeta):
if val.startswith("gzip compressed data"):
val = re.sub(r", original size modulo 2\^\d+ \d+$", "", val)
# Strip "sticky" etc. from "x.deb: sticky Debian binary package […]"
# See (#1011635)
val = re.sub(r"^(sticky|setuid|setgid)\s", "", val)
return val
def _compare_using_details(self, other, source):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment