[AAA-183] idmtool has print error on using python3 Created: 28/Jan/19  Updated: 21/Mar/19  Resolved: 21/Mar/19

Status: Resolved
Project: aaa
Component/s: General
Affects Version/s: Oxygen, Fluorine, Neon
Fix Version/s: Neon, Fluorine SR3

Type: Bug Priority: High
Reporter: Yi Yang Assignee: Yi Yang
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 16.04


Priority: High

 Description   

In Ubuntu 16.04, python3 is default python version, but idmtool is still using non-strict print syntax, so it won't work if we use python3, here is error information.

vagrant@odl:~$ python3 ./idmtool.py.orig
File "./idmtool.py.orig", line 143
print ''
^
SyntaxError: Missing parentheses in call to 'print'

In python3, print must use parentheses to embrace all the arguments.


Generated at Wed Feb 07 19:08:51 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.