Skip to content

Commit c86b1b5

Browse files
committed
Fixes minor issue when catching too many nested namespaces
1 parent 51dafe6 commit c86b1b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_repo/repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def set_repo_slug(self, repo_slug, auto=False):
217217
service = RepositoryService.get_service(None, self.target)
218218
if len(namespace) > service._max_nested_namespaces:
219219
raise ArgumentError('Too many slashes.'
220-
'The maximum depth of namespaces is: {}'.format(self.service._max_nested_namespaces))
220+
'The maximum depth of namespaces is: {}'.format(service._max_nested_namespaces))
221221
else:
222222
self.namespace = None
223223
self.repo_name = self.repo_slug

0 commit comments

Comments
 (0)