diff --git a/tools_webrtc/mb/mb b/tools_webrtc/mb/mb index d3a0cdf019..007d23cb64 100755 --- a/tools_webrtc/mb/mb +++ b/tools_webrtc/mb/mb @@ -5,4 +5,4 @@ base_dir=$(dirname "$0") -PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/mb.py" "$@" +PYTHONDONTWRITEBYTECODE=1 exec python3 "$base_dir/mb.py" "$@" diff --git a/tools_webrtc/mb/mb_unittest.py b/tools_webrtc/mb/mb_unittest.py index 115d329b3a..109d2bcb2d 100755 --- a/tools_webrtc/mb/mb_unittest.py +++ b/tools_webrtc/mb/mb_unittest.py @@ -91,9 +91,9 @@ class FakeMBW(mb.WebRTCMetaBuildWrapper): abpath = self._AbsPath(path) self.files[abpath] = contents - def Call(self, cmd, env=None, buffer_output=True, stdin=None): + def Call(self, cmd, env=None, capture_output=True, stdin=None): del env - del buffer_output + del capture_output del stdin self.calls.append(cmd) if self.cmds: @@ -231,11 +231,11 @@ def CreateFakeMBW(files=None, win32=False): mbw.files[path] = contents if path.endswith('.runtime_deps'): - def FakeCall(cmd, env=None, buffer_output=True, stdin=None): + def FakeCall(cmd, env=None, capture_output=True, stdin=None): # pylint: disable=cell-var-from-loop del cmd del env - del buffer_output + del capture_output del stdin mbw.files[path] = contents return 0, '', ''