diff options
author | László Németh <nemeth@numbertext.org> | 2011-12-09 11:36:00 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2011-12-09 11:36:00 +0100 |
commit | 95bcc5e8d51b8d8e153400380d522fb603c5b894 (patch) | |
tree | 4fb2ab6c44bcf67d53bd682b2bb7523263fa6a7b | |
parent | 9317aa0abe700154a49276296ca046c822453e6c (diff) |
Fix possible problems on Windows raised by the unsupported sys.stdout
-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 |