Skip to content

Commit f27ced6

Browse files
MrYsLabMrYsLab
authored andcommitted
banyan_base_aio ignore pustil.Zombie exception
1 parent 9cfc86b commit f27ced6

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

projects/OneGPIO/arduino_uno/__init__.py

Whitespace-only changes.

pypi_desc.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,3 @@ class EchoClient(BanyanBase):
123123
124124
```
125125

126-
This project was developed with [Pycharm](https://www.jetbrains.com/pycharm/) ![logo](https://github.com/MrYsLab/python_banyan/blob/master/images/icon_PyCharm.png)

python_banyan/banyan_base_aio/banyan_base_aio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ def __init__(self, back_plane_ip_address=None, subscriber_port='43125',
112112
p = psutil.Process(pid)
113113
try:
114114
p_command = p.cmdline()
115-
except psutil.AccessDenied:
116-
# occurs in Windows - ignore
115+
# ignore these psutil exceptions
116+
except (psutil.AccessDenied, psutil.ZombieProcess):
117117
continue
118118
try:
119119
if any('backplane' in s for s in p_command):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='python-banyan',
8-
version='3.6',
8+
version='3.7',
99
packages=[
1010
'python_banyan',
1111
'python_banyan.banyan_base',

0 commit comments

Comments
 (0)