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

Commitb6e3ad2

Browse files
committed
Don't bind unused _assertion_msg_format
The _assertion_msg_format module attribute (global variable) ofgit.objects.base was formerly used in an assertion check that hassince been commented out but not completely removed.It may be that both it and the commented-out code that uses itshould simply be removed (they will be in the git history, afterall), but this change just brings them in line by also commentingout the variable.
1 parent29443ce commitb6e3ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/objects/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# --------------------------------------------------------------------------
3232

3333

34-
_assertion_msg_format="Created object %r whose python type %r disagrees with the actual git object type %r"
34+
#_assertion_msg_format = "Created object %r whose python type %r disagrees with the actual git object type %r"
3535

3636
__all__= ("Object","IndexObject")
3737

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp