summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-01-23 09:47:13 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2016-01-23 09:47:13 +0100
commitf145a3aad77bdfa49018f3f74e5fd794079e5561 (patch)
treebc66024b817f0293d9d22a404770175d78fc3a99
parent7f789ffeb47effc9c9f824a0130212d19e2ab39c (diff)
downloadpsutil-f145a3aad77bdfa49018f3f74e5fd794079e5561.tar.gz
fix AttributeError
-rw-r--r--psutil/_psosx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_psosx.py b/psutil/_psosx.py
index ad8b9578..26f1337f 100644
--- a/psutil/_psosx.py
+++ b/psutil/_psosx.py
@@ -223,7 +223,7 @@ def wrap_exceptions(fun):
class Process(object):
"""Wrapper class around underlying C implementation."""
- __slots__ = ["pid", "_name", "_ppid"]
+ __slots__ = ["pid", "_name", "_ppid", "_encoding_errors_handler"]
def __init__(self, pid):
self.pid = pid