diff options
author | Lumir Balhar <lbalhar@redhat.com> | 2017-11-06 10:51:30 +0100 |
---|---|---|
committer | Jiri Kastner <jkastner@redhat.com> | 2017-11-20 13:59:01 +0100 |
commit | 4928495c6e7f1608c23e39acfb46686e3ed4bdb1 (patch) | |
tree | 09df3f143089525654f2d8e610dec1764ce0a3b0 | |
parent | 80307b1e64b34a069abb4eb1f65875e452c79752 (diff) | |
download | python-linux-procfs-4928495c6e7f1608c23e39acfb46686e3ed4bdb1.tar.gz |
python3: Use `range()` function from six.moves
Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
-rwxr-xr-x | procfs/utilist.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/procfs/utilist.py b/procfs/utilist.py index 0e7c24f..13f40fa 100755 --- a/procfs/utilist.py +++ b/procfs/utilist.py @@ -18,6 +18,9 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # +from six.moves import range + + def hexbitmask(l, nr_entries): hexbitmask = [] bit = 0 |