diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2021-10-14 22:14:53 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2021-10-14 22:14:53 +0200 |
commit | e91bae62e6e6ee9c3ad27c1fe3013f929309e1b0 (patch) | |
tree | 9e897a5be67cfcf8356c8e2d616b0dc47ca794ad /psutil/_pssunos.py | |
parent | 4d03c917561297de1e6017059c60eb879cf8353c (diff) | |
download | psutil-e91bae62e6e6ee9c3ad27c1fe3013f929309e1b0.tar.gz |
add debug() prints in a couple of places
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
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 84d78814..355a7623 100644 --- a/psutil/_pssunos.py +++ b/psutil/_pssunos.py @@ -231,7 +231,7 @@ def disk_partitions(all=False): continue except OSError as err: # https://github.com/giampaolo/psutil/issues/1674 - debug("skipping %r: %r" % (mountpoint, err)) + debug("skipping %r: %s" % (mountpoint, err)) continue maxfile = maxpath = None # set later ntuple = _common.sdiskpart(device, mountpoint, fstype, opts, |