You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stderr_value = 'Timeout: the command "%s" did not complete in %d ' \
'secs.' % (" ".join(command), kill_after_timeout)
....
if stderr_value.endswith(b"\n"):
stderr_value = stderr_value[:-1]
So it should be:
stderr_value = b'Timeout: the command "%s" did not complete in %d ' \
b'secs.' % (" ".join(command), kill_after_timeout)
The text was updated successfully, but these errors were encountered:
At https://github.com/gitpython-developers/GitPython/blob/master/git/cmd.py#L650, I think the error message about timeouts should be a
b"..."
bytes string and not a regular string. You can see right afterwards in the endswith call that the string is expected to be a bytes string.So it should be:
The text was updated successfully, but these errors were encountered: