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

Commitec830a2

Browse files
committed
fix(repo): prevent error messages from being swallowed
This issue must have rosen from `to_progress_instance()`being inserted in a spot where `None` was a legit value.Fixesgitpython-developers#462
1 parente0b21f4 commitec830a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎git/repo/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,8 @@ def init(cls, path=None, mkdir=True, odbt=DefaultDBType, **kwargs):
873873

874874
@classmethod
875875
def_clone(cls,git,url,path,odb_default_type,progress,**kwargs):
876-
progress=to_progress_instance(progress)
876+
ifprogressisnotNone:
877+
progress=to_progress_instance(progress)
877878

878879
# special handling for windows for path at which the clone should be
879880
# created.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp