Skip to content

Commit

Permalink
Fixes minor issue when catching too many nested namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
guyzmo committed Nov 18, 2017
1 parent ad9a4d9 commit 693fb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_repo/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def set_repo_slug(self, repo_slug, auto=False):
service = RepositoryService.get_service(None, self.target)
if len(namespace) > service._max_nested_namespaces:
raise ArgumentError('Too many slashes.'
'The maximum depth of namespaces is: {}'.format(self.service._max_nested_namespaces))
'The maximum depth of namespaces is: {}'.format(service._max_nested_namespaces))
else:
self.namespace = None
self.repo_name = self.repo_slug
Expand Down

0 comments on commit 693fb75

Please sign in to comment.