diff options
author | Lumir Balhar <lbalhar@redhat.com> | 2017-11-06 10:18:46 +0100 |
---|---|---|
committer | Jiri Kastner <jkastner@redhat.com> | 2017-11-20 13:59:01 +0100 |
commit | 6b5d3b7df33ce547bbcc93b2d89843d086490acd (patch) | |
tree | 43f255e7e75e55ec7dda8f88183434cc72f94899 | |
parent | 954ab77701c987736ee84db0dc0c852b4ba50c35 (diff) | |
download | python-linux-procfs-6b5d3b7df33ce547bbcc93b2d89843d086490acd.tar.gz |
python3: `reduce()` is moved to `functools` module in Python 3
Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
-rwxr-xr-x | pflags-cmd.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pflags-cmd.py b/pflags-cmd.py index 9228c68..85b66ad 100755 --- a/pflags-cmd.py +++ b/pflags-cmd.py @@ -15,6 +15,7 @@ # General Public License for more details. import procfs, re, fnmatch, sys +from functools import reduce ps = None |