Use __future__ module absolute_import

Purpose: To prevent future divergence of py2 and py3 behavior.
Note: Change automatically generated by modernize tool - recommended
package [1][2].

[1] https://docs.python.org/3/howto/pyporting.html
[2] https://python-modernize.readthedocs.io/en/latest/

Change-Id: Ic1a158c322ab4e92275923554d96e0deca7894e0
Partial implements blueprint support-python-35
This commit is contained in:
Kien Nguyen 2017-07-07 10:31:04 +07:00
parent f869fd1115
commit 09edc1247b
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import absolute_import
import pbr.version

View File

@ -11,7 +11,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from pbr import version as pbr_version
from __future__ import absolute_import
import pbr.version
version_info = pbr_version.VersionInfo('zun')
version_info = pbr.version.VersionInfo('zun')
version_string = version_info.version_string