Bustage fix for staging repositories setup - last one.

git-svn-id: svn://10.0.0.236/trunk@254525 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bhearsum%mozilla.com 2008-10-03 19:19:54 +00:00
parent 5bd50049cd
commit 441f49ced7

View File

@ -582,6 +582,7 @@ class ReleaseFactory(BuildFactory):
return repo.rstrip('/').split('/')[-1]
def getRepoPath(self, repo):
repo = repo.rstrip('/')
repo = repo.split('/')[-1]
if repo.find('central') == -1:
repo = 'l10n-central/%s' % repo