summaryrefslogtreecommitdiff
path: root/psutil/_pswindows.py
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-02-11 14:04:13 -0800
committerGiampaolo Rodola <g.rodola@gmail.com>2020-02-11 14:04:13 -0800
commit8daac74154f23bf1c663a90c95839b6eefe3dc6c (patch)
treecb46fc9c1d42d7681a79be303292ee47b33d40b9 /psutil/_pswindows.py
parent6233060092bf3822c2d6252ebe5a6ac521f7795c (diff)
parent24eb30167d5e9ec2d939bf80fccea239bac4458e (diff)
downloadpsutil-pypy.tar.gz
Merge branch 'pypy' of https://github.com/giampaolo/psutil into pypypypy
Diffstat (limited to 'psutil/_pswindows.py')
-rw-r--r--psutil/_pswindows.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/psutil/_pswindows.py b/psutil/_pswindows.py
index c2cdbb85..d8abf2e6 100644
--- a/psutil/_pswindows.py
+++ b/psutil/_pswindows.py
@@ -928,9 +928,6 @@ class Process(object):
@wrap_exceptions
def create_time(self):
- # special case for kernel process PIDs; return system boot time
- if self.pid in (0, 4):
- return boot_time()
try:
return cext.proc_create_time(self.pid)
except OSError as err: