瀏覽代碼

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

[SVN r41446]
Rene Rivera 18 年之前
父節點
當前提交
fee09c23f5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/regression/src/regression.py

+ 1 - 1
tools/regression/src/regression.py

@@ -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)

粤ICP备19079148号