diff options
author | Alexander Hasselhuhn <alexander.hasselhuhn@tu-dortmund.de> | 2017-04-25 23:05:21 +0200 |
---|---|---|
committer | Alexander Hasselhuhn <alexander.hasselhuhn@tu-dortmund.de> | 2017-04-25 23:05:21 +0200 |
commit | b353b5fa58cfd996258f45691044e8fb95cd0444 (patch) | |
tree | c0bc917f2f8f9cbd0f43879035f0e5a45881da32 /psutil/_pssunos.py | |
parent | a9e3effa73a31c6ca77356964f0563f8531e4467 (diff) | |
download | psutil-b353b5fa58cfd996258f45691044e8fb95cd0444.tar.gz |
in psutil_users() move pid to the back
Diffstat (limited to 'psutil/_pssunos.py')
-rw-r--r-- | psutil/_pssunos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_pssunos.py b/psutil/_pssunos.py index b3c6bb39..6782f7f3 100644 --- a/psutil/_pssunos.py +++ b/psutil/_pssunos.py @@ -291,7 +291,7 @@ def users(): rawlist = cext.users() localhost = (':0.0', ':0') for item in rawlist: - user, tty, hostname, tstamp, pid, user_process = item + user, tty, hostname, tstamp, user_process, pid = item # note: the underlying C function includes entries about # system boot, run level and others. We might want # to use them in the future. |