summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2020-06-24 12:01:42 -0400
committerJohn Kacur <jkacur@redhat.com>2020-06-24 12:01:42 -0400
commit208b963455fa5ff658b24e513639f27ef66920ce (patch)
tree87e3cba60a91189df00d42ada81ec5a44b161722
parent96cd3b7ae7e8123c58bf1a5733fbe366b2d516d8 (diff)
downloadpython-linux-procfs-208b963455fa5ff658b24e513639f27ef66920ce.tar.gz
python-linux-procfs: Fix import of utilist
If procfs/utilist.py is not in your PYTHONPATH, the import can fail. Specify it fully. Reported-by: David Runge <dave@sleepmap.de> Suggested-by: Guy Streeter <guy.streeter@gmail.com> Signed-off-by: John Kacur <jkacur@redhat.com>
-rwxr-xr-xprocfs/procfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/procfs/procfs.py b/procfs/procfs.py
index a586ae2..3cfa941 100755
--- a/procfs/procfs.py
+++ b/procfs/procfs.py
@@ -21,7 +21,7 @@
import os, time
from functools import reduce
from six.moves import range
-from utilist import bitmasklist
+from procfs.utilist import bitmasklist
import platform
import re