Reviewed:  https://review.openstack.org/561928
Committed: 
https://git.openstack.org/cgit/openstack/oslo.versionedobjects/commit/?id=c4e7defc88a79952c93b151310688f6cf39d3e6d
Submitter: Zuul
Branch:    stable/pike

commit c4e7defc88a79952c93b151310688f6cf39d3e6d
Author: Sean McGinnis <[email protected]>
Date:   Wed Apr 11 21:02:53 2018 +0000

    Don't force unicode strings for UUID coercion
    
    Change Ic6b6308fb1960ec40407e6efde30137b64543e72 attempts to
    fix difference between Python 2 and Python 3 values by switching
    from using str() to formatting into a unicode string (u"%s").
    
    This is equivalent to changing str() to unicode(), but that is
    not correct for expected default string types for Python 2.
    This requires either using six.text_type(), or just formatting
    into a string, without forcing unicode ("%s"), to be correct on
    either runtime.
    
    Change-Id: I178f14cdc670d7a696778891e587ef75de208fc2
    Closes-bug: #1763179
    (cherry picked from commit b719764ba85d5e689d8276ad40c82985c84f03f9)


** Changed in: cloud-archive/pike
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1763179

Title:
  Returned strings should not be forced into unicode

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1763179/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to