Skip to content

Commit d2666e8

Browse files
committed
fix py3.5
1 parent e287dc9 commit d2666e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvc/scm/git/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def clone(url, to_path, rev=None):
8888
logger.debug("full clone")
8989
tmp_repo = clone_from()
9090
except git.exc.GitCommandError as exc:
91-
if not rev or f"Remote branch {rev} not found" not in str(exc):
91+
if not rev or ("Remote branch %s not found" % rev) not in str(exc):
9292
raise CloneError(url, to_path) from exc
9393
try:
9494
logger.debug("not a branch - performing full clone")

0 commit comments

Comments
 (0)