diff options
author | László Németh <nemeth@numbertext.org> | 2011-12-09 11:36:00 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-12-14 22:05:02 +0100 |
commit | 161139d2937b99c0057d0f5ec2467c7261cd9a03 (patch) | |
tree | 4fb2ab6c44bcf67d53bd682b2bb7523263fa6a7b | |
parent | ef782e476b114da2f7b4f26f3d1de19eabf7d388 (diff) |
Fix possible problems on Windows raised by the unsupported sys.stdout
Signed-off-by: Andras Timar <atimar@suse.com>
-rw-r--r-- | dictionaries/en/Lightproof.py | 2 | ||||
-rw-r--r-- | 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 |