Fix usage of HTTPS for getting the boost-build.jam file when using an empty user, i.e. when using tarballs.

[SVN r41446]
This commit is contained in:
Rene Rivera 2007-11-28 23:26:41 +00:00
parent 6632b807bc
commit fee09c23f5

View file

@ -681,7 +681,7 @@ class runner:
raise Exception( 'SVN command "%s" failed with code %d' % ( cmd, rc ) )
def svn_repository_url( self, path ):
if hasattr(self,'user') and self.user is not None and self.user != 'anonymous':
if self.user != 'anonymous' and self.user != '':
return '%s%s' % (repo_root['user'],path)
else:
return '%s%s' % (repo_root['anon'],path)