mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-16 13:56:11 +08:00
Test that we can clone repos with a trailing slash.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user