linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] python-linux-procfs: Remove import of range from six.moves
@ 2025-10-09 20:27 John Kacur
  2025-10-09 20:27 ` [PATCH 2/4] python-linux-procfs: Modernize packaging and update authorship John Kacur
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John Kacur @ 2025-10-09 20:27 UTC (permalink / raw)
  To: linux-rt-users; +Cc: Clark Williams, John Kacur

We're fully python3, remove import of range and just use the python3
built-in

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 procfs/procfs.py  | 2 --
 procfs/utilist.py | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/procfs/procfs.py b/procfs/procfs.py
index 7cc7371b53e2..e3f9f44614ef 100755
--- a/procfs/procfs.py
+++ b/procfs/procfs.py
@@ -11,12 +11,10 @@ import platform
 import re
 import time
 from functools import reduce
-from six.moves import range
 from procfs.utilist import bitmasklist
 
 VERSION = "0.7.3"
 
-
 def is_s390():
     """ Return True if running on s390 or s390x """
     machine = platform.machine()
diff --git a/procfs/utilist.py b/procfs/utilist.py
index e6314f0fd89c..e36c739862a4 100755
--- a/procfs/utilist.py
+++ b/procfs/utilist.py
@@ -6,9 +6,6 @@
 # Copyright (C) 2007 Red Hat, Inc.
 #
 
-from six.moves import range
-
-
 def hexbitmask(l, nr_entries):
     hexbitmask = []
     bit = 0
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-09 20:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-09 20:27 [PATCH 1/4] python-linux-procfs: Remove import of range from six.moves John Kacur
2025-10-09 20:27 ` [PATCH 2/4] python-linux-procfs: Modernize packaging and update authorship John Kacur
2025-10-09 20:27 ` [PATCH 3/4] python-linux-procfs: Fix spelling mistakes in comments John Kacur
2025-10-09 20:27 ` [PATCH 4/4] python-linux-procfs: Bump version to 0.7.4 John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).