Doc generation is broken due to missing import _

Bug #1209413 reported by Steve Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Steve Baker

Bug Description

cd doc ; make html # results in the following
Exception occurred:
  File "/home/steveb/dev/localstack/heat/heat/common/exception.py", line 94, in MissingCredentialError
    message = _("Missing required credential: %(required)s")
NameError: name '_' is not defined

Changed in heat:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Steve Baker (steve-stevebaker)
milestone: none → havana-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

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

Reviewed: https://review.openstack.org/40768
Committed: http://github.com/openstack/heat/commit/0453785f3f7b2a578b433cb0544394aac9bcfb95
Submitter: Jenkins
Branch: master

commit 0453785f3f7b2a578b433cb0544394aac9bcfb95
Author: Steve Baker <email address hidden>
Date: Thu Aug 8 11:20:48 2013 +1200

    Add missing _ imports to allow doc generation

    Fixes bug: 1209413

    Change-Id: I7d405ceb6a500cbb3d0eb19e85cb0540564e0643

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

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

Reviewed: https://review.openstack.org/41554
Committed: http://github.com/openstack/heat/commit/3b64fd85190af18d39ca718c9bb11456367e6e80
Submitter: Jenkins
Branch: master

commit 3b64fd85190af18d39ca718c9bb11456367e6e80
Author: Luis A. Garcia <email address hidden>
Date: Mon Aug 12 21:45:46 2013 +0000

    Revert "Add missing _ imports to allow doc generation"

    This change reverts commit 0453785f3f7b2a578b433cb0544394aac9bcfb95 and
    fixes a bug where the _() was not being recognized when building the
    documentation while preserving the delayed translation of error
    messages.

    Closes-Bug: #1211507
    Related-Bug: #1209413

    Change-Id: I5d52941e1f08ec656f7279efb6cdf496d81861da

Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-3 → 2013.2
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.