Merge "Remove initialization of logger if logger is None"

This commit is contained in:
Zuul
2018-07-03 19:15:25 +00:00
committed by Gerrit Code Review

View File

@@ -13,8 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from cinderclient import api_versions
from cinderclient import client
from cinderclient.v3 import attachments
@@ -112,9 +110,6 @@ class Client(object):
setattr(self, extension.name,
extension.manager_class(self))
if not logger:
logger = logging.getLogger(__name__)
self.client = client._construct_http_client(
username=username,
password=password,