Python 3 changes for print statement cause breakages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Austin Sun |
Bug Description
Title
-----
Python 3 changes for print statement cause breakages
Brief Description
-----------------
The changes made in https:/
print "some string",
to this:
print("some string", end=" ")
The problem is that having a space in the end parameter makes a functional change and adds an extra space to the end of the string. This has already broken backup/restore (see https:/
The author of https:/
Severity
--------
Provide the severity of the defect.
Critical
Steps to Reproduce
------------------
Backup/restore was broken. I'm not sure what else might be broken.
Expected Behavior
------------------
The change to support python 3 compatible print statements should not introduce any functional changes.
Actual Behavior
----------------
See above.
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
See above
Timestamp/Logs
--------------
Not applicable.
Changed in starlingx: | |
assignee: | nobody → Austin Sun (sunausti) |
status: | New → In Progress |
tags: |
added: stx.2019.05 removed: stx.2019.03 |
tags: |
added: stx.2.0 removed: stx.2019.05 |
tags: |
added: stx.python3 removed: stx.python2 |
Fix proposed to branch: master /review. openstack. org/625790
Review: https:/