From 5765b274bf2929aa99185be5ce946bce94ace7a5 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Tue, 16 Oct 2018 20:26:39 +0200 Subject: [PATCH] procfs: Reduce not in python3 by default Reduce not in python3 by default, so import it from functools Signed-off-by: John Kacur --- procfs/procfs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/procfs/procfs.py b/procfs/procfs.py index c70fe2ae774b..c6f65890d0e4 100755 --- a/procfs/procfs.py +++ b/procfs/procfs.py @@ -21,6 +21,7 @@ from __future__ import absolute_import from __future__ import print_function import os, time +from functools import reduce from .utilist import bitmasklist from six.moves import range -- 2.14.4