From 7309d2a3c776d764480e92567581c9cbce37edbc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 8 Jan 2020 19:25:42 +0300 Subject: fix PyLint-discovered bugs --- boost/build/build.py | 5 ++--- boost/build/ci/travis.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'boost') diff --git a/boost/build/build.py b/boost/build/build.py index 59f6f07..bfb204b 100755 --- a/boost/build/build.py +++ b/boost/build/build.py @@ -375,7 +375,7 @@ class BuildParameters: params.append(self._build_dir(build_dir)) params.append(self._stagedir(platform, configuration)) params.append(self._link(link)) - params.append(self._runtime_link(link)) + params.append(self._runtime_link(runtime_link)) params.append(self._address_model(platform)) params.append(self._variant(configuration)) params += self.b2_args @@ -388,8 +388,7 @@ class BuildParameters: def _stagedir(self, platform, configuration): if _on_windows(): return self._windows_stagedir(platform) - else: - return self._unix_stagedir(platform, configuration) + return self._unix_stagedir(platform, configuration) def _windows_stagedir(self, platform): platform = str(platform) diff --git a/boost/build/ci/travis.py b/boost/build/ci/travis.py index 1c65cc9..4b06281 100755 --- a/boost/build/ci/travis.py +++ b/boost/build/ci/travis.py @@ -89,7 +89,7 @@ def build_travis(argv=None): travis_argv.append('--link') travis_argv += args.link if args.runtime_link is not None: - appveyor_argv += ['--runtime-link', args.runtime_link] + travis_argv += ['--runtime-link', args.runtime_link] travis_argv += [ '--', version.dir_path(_get_build_dir()), ] -- cgit v1.2.3