Skip to content

Commit d8bf7d0

Browse files
committed
Remove redundant to_bytes
1 parent a0d3d8f commit d8bf7d0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pygit2/remote.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def fetch(self, refspecs=None, message=None, callbacks=None, prune=C.GIT_FETCH_P
137137
* `True` to enable automatic proxy detection
138138
* an url to a proxy (`http://proxy.example.org:3128/`)
139139
"""
140-
message = to_bytes(message)
141140
with git_fetch_options(callbacks) as payload:
142141
opts = payload.fetch_options
143142
opts.prune = prune

0 commit comments

Comments
 (0)