Commit 061698e6 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Also allow "Unicode text, UTF-8 text" as well as "UTF-8 Unicode text" for .buildinfo files too.

parent cb42460a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -336,7 +336,7 @@ class DotBuildinfoFile(DebControlFile):
    CONTAINER_CLASSES = [DotBuildinfoContainer]
    FILE_EXTENSION_SUFFIX = {".buildinfo"}
    FILE_TYPE_RE = re.compile(
        r"^(ASCII text|UTF-8 Unicode text|PGP signed message)"
        r"^(ASCII text|UTF-8 Unicode text|Unicode text, UTF-8 text|PGP signed message)"
    )

    @classmethod