Sync charm-helpers

This commit is contained in:
Corey Bryant 2015-05-02 18:30:16 +00:00
parent 8fed9963f9
commit dbb56bf872

View File

@ -50,7 +50,7 @@ class GitUrlFetchHandler(BaseFetchHandler):
raise UnhandledSource("Cannot handle {}".format(source))
if depth:
repo = Repo.clone_from(source, dest, depth)
repo = Repo.clone_from(source, dest, depth=depth)
else:
repo = Repo.clone_from(source, dest)
repo.git.checkout(branch)