<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AttributeError: 'tuple' object has no attribute 'major'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107566#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AttributeError: 'tuple' object has no attribute 'major'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107566">bug 107566</a>
              from <span class="vcard"><a class="email" href="mailto:tomeu@tomeuvizoso.net" title="Tomeu Vizoso <tomeu@tomeuvizoso.net>"> <span class="fn">Tomeu Vizoso</span></a>
</span></b>
        <pre>(In reply to Tomeu Vizoso from <a href="show_bug.cgi?id=107566#c1">comment #1</a>)
<span class="quote">> Workaround:

> diff --git a/src/util/xmlpool/gen_xmlpool.py
> b/src/util/xmlpool/gen_xmlpool.py
> index 327709c7f8dd..0d97fbcfcf3f 100644
> --- a/src/util/xmlpool/gen_xmlpool.py
> +++ b/src/util/xmlpool/gen_xmlpool.py
> @@ -140,8 +142,8 @@ def expandMatches (matches, translations, end=None):
>  
>          # In Python 2, stdout expects encoded byte strings, or else it will
>          # encode them with the ascii 'codec'
> -        if sys.version_info.major == 2:
> -            text = text.encode('utf-8')
> +        #if sys.version_info.major == 2:
> +        text = text.encode('utf-8')
>  
>          print(text)</span >

Not really, it's better to just revert "2ee1c86d71be meson: Build with Python
3"</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>