Commit e0fa2021 authored by Julian Andres Klode's avatar Julian Andres Klode
Browse files

debfile: Pass `Name` instead of `Binary` to ExtractTar

Passing the binary causes it to fail trying to find the `false`
compressor when a binary for a given compressor is not installed.

Gbp-Dch: full
LP: #1926437
parent de5e5ccd
......@@ -600,7 +600,7 @@ static PyObject *debfile_get_tar(PyDebFileObject *self, const char *Name)
Member = AR.FindMember(std::string(Name).append(c->Extension).c_str());
if (Member == NULL)
continue;
Compressor = c->Binary;
Compressor = c->Name;
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment