From: Yonghee Han Date: Tue, 29 Aug 2017 04:13:24 +0000 (+0900) Subject: add to set default char-set encoding to utf-8 X-Git-Tag: submit/trunk/20190927.012743~308 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F68%2F146468%2F1;p=services%2Fjenkins-scripts.git add to set default char-set encoding to utf-8 PROBLEM: repa job failed SOLUTION: Add to set default char-set encoding to utf-8 Change-Id: I517e730e25863aabf85bd017f57acc10d4cabc29 --- diff --git a/job_repa.py b/job_repa.py index 46efea3..02cb851 100644 --- a/job_repa.py +++ b/job_repa.py @@ -40,6 +40,10 @@ from common.prerelease import get_prerelease_project_name from common.buildtrigger import trigger_info, trigger_next from common import runner +# set default char-set endcoding to utf-8 +reload(sys) +sys.setdefaultencoding('utf-8') # pylint: disable-msg=E1101 + class LocalError(Exception): """Local error exception.""" pass