From 161139d2937b99c0057d0f5ec2467c7261cd9a03 Mon Sep 17 00:00:00 2001 From: László Németh Date: Fri, 9 Dec 2011 11:36:00 +0100 Subject: Fix possible problems on Windows raised by the unsupported sys.stdout Signed-off-by: Andras Timar --- dictionaries/en/Lightproof.py | 2 +- dictionaries/hu_HU/Lightproof.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dictionaries/en/Lightproof.py b/dictionaries/en/Lightproof.py index a6b669c..45a0446 100644 --- a/dictionaries/en/Lightproof.py +++ b/dictionaries/en/Lightproof.py @@ -286,7 +286,7 @@ class Lightproof( unohelper.Base, XProofreader, XServiceInfo, XServiceName, XSer aRes.aErrors = proofread( nDocId, rText, rLocale, \ nStartOfSentencePos, aRes.nBehindEndOfSentencePosition, rProperties) except: - traceback.print_exc(file=sys.stdout) + # traceback.print_exc(file=sys.stdout) aRes.aErrors = () aRes.aProperties = () aRes.xProofreader = self diff --git a/dictionaries/hu_HU/Lightproof.py b/dictionaries/hu_HU/Lightproof.py index 24eac51..32a7b5a 100644 --- a/dictionaries/hu_HU/Lightproof.py +++ b/dictionaries/hu_HU/Lightproof.py @@ -286,7 +286,7 @@ class Lightproof( unohelper.Base, XProofreader, XServiceInfo, XServiceName, XSer aRes.aErrors = proofread( nDocId, rText, rLocale, \ nStartOfSentencePos, aRes.nBehindEndOfSentencePosition, rProperties) except: - traceback.print_exc(file=sys.stdout) + # traceback.print_exc(file=sys.stdout) aRes.aErrors = () aRes.aProperties = () aRes.xProofreader = self -- cgit