summaryrefslogtreecommitdiff
path: root/psutil
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-04-10 16:44:29 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2016-04-10 16:44:29 +0200
commit79db53f09f4abff5fa64a0f184ecbc223b9c0149 (patch)
tree9ae8ec39bdad97a277776eadbfc1473f04877403 /psutil
parent87a1f58d81e4bba73974f4dc6a3b74389f4930fe (diff)
downloadpsutil-79db53f09f4abff5fa64a0f184ecbc223b9c0149.tar.gz
add doc
Diffstat (limited to 'psutil')
-rw-r--r--psutil/_pswindows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_pswindows.py b/psutil/_pswindows.py
index 15713eee..92c333d8 100644
--- a/psutil/_pswindows.py
+++ b/psutil/_pswindows.py
@@ -335,7 +335,7 @@ class WindowsService(object):
except WindowsError as err:
if err.errno in ACCESS_DENIED_SET:
raise AccessDenied(msg="service %r is not querable (not "
- "enough privileges)" % self.name())
+ "enough privileges)" % self._name)
else:
raise