Skip to content

Commit b6e3ad2

Browse files
committed
Don't bind unused _assertion_msg_format
The _assertion_msg_format module attribute (global variable) of git.objects.base was formerly used in an assertion check that has since been commented out but not completely removed. It may be that both it and the commented-out code that uses it should simply be removed (they will be in the git history, after all), but this change just brings them in line by also commenting out the variable.
1 parent 29443ce commit b6e3ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/objects/base.py

+1-1
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)