https://issues.apache.org/ooo/show_bug.cgi?id=121612
Bug ID: 121612
Issue Type: DEFECT
Summary: Mail merge broken due to Python3 conversion
Classification: Code
Product: framework
Version: AOO 3.4.1
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: P3
Component: scripting
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
revision 1423676 seems to have applied the "2to3 source-to-source conversion
tool, all print statements are automatically converted to print() function
calls, so this is mostly a non-issue for larger projects."
http://docs.python.org/3.0/whatsnew/3.0.html#print-is-a-function
Converting statements as the following:
Old: print >>sys.stderr, "fatal error"
New: print("fatal error", file=sys.stderr)
print("fatal error", file=sys.stderr) is no valid Python 2 syntax, so this
broke mailmerge.py
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.