diff options
author | kaiix <kvn.hou@gmail.com> | 2020-04-16 22:59:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 16:59:43 +0200 |
commit | 9e50354fa37da96040b9a23431c7cec9f6a5326d (patch) | |
tree | 62d52092cf6e5c0a201bafc2655e306dad492baa | |
parent | f884ef43fd4547080735565b5cd7f46faa5e2191 (diff) | |
download | psutil-9e50354fa37da96040b9a23431c7cec9f6a5326d.tar.gz |
Remove useless assignment (#1728)
-rw-r--r-- | psutil/_pslinux.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py index 4fb783d1..aca5fd7d 100644 --- a/psutil/_pslinux.py +++ b/psutil/_pslinux.py @@ -361,7 +361,6 @@ def calculate_avail_vmem(mems): if line.startswith(b'low'): watermark_low += int(line.split()[1]) watermark_low *= PAGESIZE - watermark_low = watermark_low avail = free - watermark_low pagecache = lru_active_file + lru_inactive_file |