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

Commitb827f81

Browse files
authored
Use binary string constant for concatenation.
1 parentcee0cec commitb827f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/refs/symbolic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def set_reference(self, ref, logmsg=None):
313313

314314
lfd=LockedFD(fpath)
315315
fd=lfd.open(write=True,stream=True)
316-
fd.write(write_value.encode('ascii')+'\n')
316+
fd.write(write_value.encode('ascii')+b'\n')
317317
lfd.commit()
318318

319319
# Adjust the reflog

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp