Python 3 deprecated the logger.warn method in favor of warning
Python 3 deprecated the logger.warn method in favor of warning

Python 3 deprecated the logger.warn method, see:
https://docs.python.org/3/library/logging.html#logging.warning, so we
prefer to use warning to avoid DeprecationWarning.

Closes-Bug: #1529913

Change-Id: Ief1ebbbc8198d2d7a01a5ec41b61d8b6d466da1f

django-leonardo/horizon,bac/horizon,openstack/horizon,wolverineav/horizon,redhat-cip/horizon,redhat-openstack/horizon,django-leonardo/horizon,yeming233/horizon,bigswitch/horizon,davidcusatis/horizon,sandvine/horizon,redhat-openstack/horizon,gerrive/horizon,noironetworks/horizon,django-leonardo/horizon,bigswitch/horizon,yeming233/horizon,yeming233/horizon,NeCTAR-RC/horizon,coreycb/horizon,noironetworks/horizon,Mirantis/mos-horizon,dan1/horizon-x509,ChameleonCloud/horizon,NeCTAR-RC/horizon,gerrive/horizon,openstack/horizon,bac/horizon,wolverineav/horizon,dan1/horizon-x509,yeming233/horizon,bac/horizon,sandvine/horizon,gerrive/horizon,gerrive/horizon,openstack/horizon,openstack/horizon,BiznetGIO/horizon,redhat-cip/horizon,sandvine/horizon,wolverineav/horizon,bac/horizon,davidcusatis/horizon,redhat-cip/horizon,redhat-cip/horizon,davidcusatis/horizon,NeCTAR-RC/horizon,BiznetGIO/horizon,bigswitch/horizon,redhat-openstack/horizon,dan1/horizon-x509,wolverineav/horizon,BiznetGIO/horizon,NeCTAR-RC/horizon,coreycb/horizon,noironetworks/horizon,sandvine/horizon,BiznetGIO/horizon,coreycb/horizon,django-leonardo/horizon,ChameleonCloud/horizon,davidcusatis/horizon,coreycb/horizon,Mirantis/mos-horizon,Mirantis/mos-horizon,ChameleonCloud/horizon,dan1/horizon-x509,Mirantis/mos-horizon,bigswitch/horizon,noironetworks/horizon,redhat-openstack/horizon,ChameleonCloud/horizon