Skip to content

Commit

Permalink
Only add _ComputeRepositoryURL if svnurl is not None
Browse files Browse the repository at this point in the history
Thanks to bdbaddog for reporting, and to tomprince for the fix
  • Loading branch information
djmitche committed Jun 16, 2011
1 parent 17e7911 commit 40480c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/steps/source.py
Expand Up @@ -565,7 +565,7 @@ def __init__(self, svnurl=None, baseURL=None, defaultBranch=None,
warn("Please use workdir=, not directory=", DeprecationWarning)
kwargs['workdir'] = directory

self.svnurl = _ComputeRepositoryURL(svnurl)
self.svnurl = svnurl and _ComputeRepositoryURL(svnurl)
self.baseURL = _ComputeRepositoryURL(baseURL)
self.branch = defaultBranch
self.username = username
Expand Down

0 comments on commit 40480c7

Please sign in to comment.