← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1309059] Re: keystone/exceptions.py: NameError: name '_' is not defined

 

** Also affects: keystone/havana
   Importance: Undecided
       Status: New

** Changed in: keystone
       Status: New => Invalid

** Changed in: keystone/havana
       Status: New => Triaged

** Changed in: keystone/havana
   Importance: Undecided => Medium

** Changed in: keystone/havana
     Assignee: (unassigned) => Cyril Roelandt (cyril-roelandt)

** Changed in: keystone
     Assignee: Cyril Roelandt (cyril-roelandt) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1309059

Title:
  keystone/exceptions.py: NameError: name '_' is not defined

Status in OpenStack Identity (Keystone):
  Invalid
Status in Keystone havana series:
  Triaged

Bug description:
  When running swift-proxy in Havana, I end up importing
  keystone/exception.py, and get the following error at the end of a
  long stacktrace:

    File "/usr/lib/python2.7/dist-packages/keystone/exception.py", line 81, in ValidationError
      message_format = _("Expecting to find %(attribute)s in %(target)s."
  NameError: name '_' is not defined

  
  We should explicitely import '_'

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1309059/+subscriptions


References