unicode not defined in python34

Bug #1639376 reported by Jin Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gluon
Fix Released
Undecided
Jin Li

Bug Description

python34 does not support unicode as a type
In gluon/common/particleGenerator/ApiGenerator.py line 144, the function translate_model_to_api_type()
returns unicode as a type. This causes gate-gluon-python34 to fail in gerrit.

Revision history for this message
Jin Li (jl7351) wrote :
Changed in python-gluon:
status: New → Confirmed
Jin Li (jl7351)
Changed in python-gluon:
assignee: nobody → Jin Li (jl7351)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gluon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/395228

Changed in python-gluon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gluon (master)

Reviewed: https://review.openstack.org/395228
Committed: https://git.openstack.org/cgit/openstack/gluon/commit/?id=5e1f8b3ede74eb88dd15d14bfee2a7f2ed63e4e4
Submitter: Jenkins
Branch: master

commit 5e1f8b3ede74eb88dd15d14bfee2a7f2ed63e4e4
Author: JinLi <email address hidden>
Date: Tue Nov 8 14:21:47 2016 -0800

    fix py34 not supporting unicode issue

    the type unicode is not supported in py34
    change it to six.text_type
    test case for this change is implemented in:
    https://review.openstack.org/#/c/393935

    Change-Id: I9dd62944a632bc1f5a9d51be94c8bc82423aceb0
    Closes-Bug: #1639376

Changed in python-gluon:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.