Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf237620

Browse files
authored
Merge pull request#682 from pabelanger/temp/encoding
Fix encoding issue with stderr_value and kill_after_timeout
2 parents95ff827 +1dbfd29 commitf237620

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/cmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,8 @@ def _kill_process(pid):
780780
ifkill_after_timeout:
781781
watchdog.cancel()
782782
ifkill_check.isSet():
783-
stderr_value='Timeout: the command "%s" did not complete in %d ' \
784-
'secs.'% (" ".join(command),kill_after_timeout)
783+
stderr_value=('Timeout: the command "%s" did not complete in %d '
784+
'secs.'% (" ".join(command),kill_after_timeout)).encode(defenc)
785785
# strip trailing "\n"
786786
ifstdout_value.endswith(b"\n"):
787787
stdout_value=stdout_value[:-1]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp