PBR

Comment 4 for bug 1704472

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to pbr (master)

Reviewed: https://review.opendev.org/564874
Committed: https://git.openstack.org/cgit/openstack/pbr/commit/?id=3b102a551bb2518682a0da4e6065feeb7f20807a
Submitter: Zuul
Branch: master

commit 3b102a551bb2518682a0da4e6065feeb7f20807a
Author: Ben Nemec <email address hidden>
Date: Fri Apr 27 20:11:53 2018 +0000

    Read description file as utf-8

    Currently pbr fails if the description file contains unicode
    characters. To fix this we need to open the description file as
    utf-8 explicitly. Since open() in Python 2 doesn't support an
    encoding parameter, use io.open() which works on both 2 and 3.

    Co-Authored-By: HervĂ© Beraud<email address hidden>

    Change-Id: I1bee502ac84b474cc9db5523d2437a8c0a861c00
    Closes-Bug: 1704472