summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 9ba2b1d2..f43cc462 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -33,7 +33,7 @@ from git.config import GitConfigParser
from git.remote import (
Remote,
add_progress,
- progress_object
+ to_progress_instance
)
from git.db import GitCmdObjectDB
@@ -873,7 +873,7 @@ class Repo(object):
@classmethod
def _clone(cls, git, url, path, odb_default_type, progress, **kwargs):
- progress = progress_object(progress)
+ progress = to_progress_instance(progress)
# special handling for windows for path at which the clone should be
# created.