Adjust oslo logging to provide adapter is enabled for
In python 2.6 the isEnabledFor adapter method is not found
since it was added in 2.7+ so to enable its usage in openstack
which can want to use this method add it on when in python 2.6
and just call the parent method on other versions.
Reviewed: https:/ /review. openstack. org/107812 /git.openstack. org/cgit/ openstack/ oslo-incubator/ commit/ ?id=726d00aa80a 402afc83f8d22b7 4008cd4d306445
Committed: https:/
Submitter: Jenkins
Branch: master
commit 726d00aa80a402a fc83f8d22b74008 cd4d306445
Author: Joshua Harlow <email address hidden>
Date: Thu Jul 17 12:50:10 2014 -0700
Adjust oslo logging to provide adapter is enabled for
In python 2.6 the isEnabledFor adapter method is not found
since it was added in 2.7+ so to enable its usage in openstack
which can want to use this method add it on when in python 2.6
and just call the parent method on other versions.
Closes-Bug: #1343544
Change-Id: I5c3ba91cb1a855 5d649fffc1377e9 e9dfe92fea8