← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1220601] Re: format string missing object type

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => havana-3

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

Title:
  format string missing object type

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  There is a code error in keystone/common/ldap/core.py.

   82 def parse_tls_cert(opt):
   83     try:
   84         return LDAP_TLS_CERTS[opt]
   85     except KeyError:
   86         raise ValueError(_(
   87             'Invalid LDAP TLS certs option: %(option). '
   88             'Choose one of: %(options)s') % {
   89                 'option': opt,
   90                 'options': ', '.join(LDAP_TLS_CERTS.keys())})

  in line 87, %(option) should be changed to %(option)s to show the
  corret error message when the exception happens.

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