** Changed in: murano
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1306559
Title:
Fix python26 compatibility for RFCSysLogHandler
Status in Cinder:
Confirmed
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Committed
Status in OpenStack Identity (Keystone):
Confirmed
Status in Murano:
Fix Released
Status in OpenStack Neutron (virtual network service):
Confirmed
Bug description:
Currently used pattern
https://review.openstack.org/#/c/63094/15/openstack/common/log.py (lines
471-479) will fail for Python 2.6.x.
In order to fix the broken Python 2.6.x compatibility, old style explicit
superclass method calls should be used instead.
Here is an example of how to check this for Python v2.7 and v2.6:
import logging.handlers
print type(logging.handlers.SysLogHandler)
print type(logging.Handler)
Results would be:
Python 2.7: <type 'type'>, so super() may be used for
RFCSysLogHandler(logging.handlers.SysLogHandler)
Python 2.6:<type 'classobj'>, so super() may *NOT* be used for
RFCSysLogHandler(logging.handlers.SysLogHandler)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1306559/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp