Test that we can clone repos with a trailing slash.

This commit is contained in:
Ralph Bean
2017-02-20 12:44:49 -05:00
parent 2e6e153660
commit 0ffb1f7e42
2 changed files with 12 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ class SCM(object):
raise Unauthorized(
'%s is not in the list of allowed SCMs' % url)
url = url.rstrip('/')
self.url = url
# once we have more than one SCM provider, we will need some more