Skip to content

Commit 45ef890

Browse files
committed
🚒 Fixed format path issue error
fixed a typo in argument name handling
1 parent aa920ec commit 45ef890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_repo/services/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def format_path(self, repository, namespace=None, rw=False):
195195
elif rw and '/' in repo:
196196
return '{}:{}'.format(self.url_rw, repo)
197197
else:
198-
raise ArgumentError("Cannot tell how to handle this url: `{}/{}`!".format(user, repo_name))
198+
raise ArgumentError("Cannot tell how to handle this url: `{}/{}`!".format(namespace, repo))
199199

200200
def pull(self, remote, branch=None):
201201
'''Pull a repository

0 commit comments

Comments
 (0)