32 lines
862 B
Diff
32 lines
862 B
Diff
From 208b963455fa5ff658b24e513639f27ef66920ce Mon Sep 17 00:00:00 2001
|
|
From: John Kacur <jkacur@redhat.com>
|
|
Date: Wed, 24 Jun 2020 12:01:42 -0400
|
|
Subject: [PATCH 1/2] 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>
|
|
---
|
|
procfs/procfs.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/procfs/procfs.py b/procfs/procfs.py
|
|
index a586ae2b0156..3cfa941ffdb9 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
|
|
|
|
--
|
|
2.21.3
|
|
|