Codebase list ros-vcstools / 0a369e6
Fix isAlive Closes: #973173 Jochen Sprickerhof 3 years ago
2 changed file(s) with 22 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
1 Date: Tue, 27 Oct 2020 22:18:18 +0100
2 Subject: isAlive -> is_alive
3
4 ---
5 src/vcstools/common.py | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 diff --git a/src/vcstools/common.py b/src/vcstools/common.py
9 index 6c1fa7f..a9e939b 100644
10 --- a/src/vcstools/common.py
11 +++ b/src/vcstools/common.py
12 @@ -319,7 +319,7 @@ def run_shell_command(cmd, cwd=None, shell=False, us_env=True,
13 args=[proc, no_filter, verbose, show_stdout, q])
14 t.start()
15 t.join(timeout)
16 - if t.isAlive():
17 + if t.is_alive():
18 if hasattr(os.sys, 'winver'):
19 os.kill(proc.pid, signal.CTRL_BREAK_EVENT)
20 else:
00 0001-Fix-Disable-unit-tests.patch
1 0002-isAlive-is_alive.patch