← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213284] Re: keystone's use of logging.isEnabledFor breaks python 2.6 compatibility

 

** 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/1213284

Title:
  keystone's use of logging.isEnabledFor breaks python 2.6 compatibility

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  commit 0c2fc69b started using the isEnabledFor() method on logging
  which wasn't introduced until python 2.7

  From http://docs.python.org/2/library/logging.html#loggeradapter-objects
  "Changed in version 2.7: The isEnabledFor() method was added to LoggerAdapter. This method delegates to the underlying logger."

  This means that if you try to run keystone under python 2.6 you get
  this error:

      2013-08-16 22:55:52,608 (keystone.common.wsgi): ERROR wsgi
  __call__ ContextAdapter instance has no attribute 'isEnabledFor'

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