Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Mail merge broken due to Python3 conversion | ||
---|---|---|---|
Product: | General | Reporter: | Ariel Constenla-Haile <arielch> |
Component: | scripting | Assignee: | Ariel Constenla-Haile <arielch> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | issues, pfg |
Version: | 3.4.1 | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Ariel Constenla-Haile
2013-01-11 21:29:07 UTC
"arielch" committed SVN revision 1432668 into trunk: i121612 - Fix broken python mail component Fixed by replacing print( "$STRING", file=sys.stderr) only valid in Python3, with out = sys.stderr out.write("$STRING\n") that works both in Python2 and Python3. I only checked the mail component, but other stuff might be broken to. (In reply to comment #2) > Fixed by replacing > > print( "$STRING", file=sys.stderr) > > only valid in Python3, with > > out = sys.stderr > out.write("$STRING\n") > > that works both in Python2 and Python3. > > I only checked the mail component, but other stuff might be broken to. Thank you for the fix! I opengroked "sys.stderr" and it appears it was the only case where this happened. |