Skip to content

Commit

Permalink
banyan_base_aio ignore pustil.Zombie exception
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYsLab authored and MrYsLab committed Nov 14, 2019
1 parent 9cfc86b commit f27ced6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Empty file.
1 change: 0 additions & 1 deletion pypi_desc.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,3 @@ class EchoClient(BanyanBase):
```

This project was developed with [Pycharm](https://www.jetbrains.com/pycharm/) ![logo](https://github.com/MrYsLab/python_banyan/blob/master/images/icon_PyCharm.png)
4 changes: 2 additions & 2 deletions python_banyan/banyan_base_aio/banyan_base_aio.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def __init__(self, back_plane_ip_address=None, subscriber_port='43125',
p = psutil.Process(pid)
try:
p_command = p.cmdline()
except psutil.AccessDenied:
# occurs in Windows - ignore
# ignore these psutil exceptions
except (psutil.AccessDenied, psutil.ZombieProcess):
continue
try:
if any('backplane' in s for s in p_command):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='python-banyan',
version='3.6',
version='3.7',
packages=[
'python_banyan',
'python_banyan.banyan_base',
Expand Down

0 comments on commit f27ced6

Please sign in to comment.