]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
tests/system/framework/utils/tools.py: apply style fix for tuple unpacking
authorIker Pedrosa <ipedrosa@redhat.com>
Wed, 21 Jan 2026 08:23:31 +0000 (09:23 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Fri, 23 Jan 2026 14:51:42 +0000 (15:51 +0100)
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
tests/system/framework/utils/tools.py

index 03a79219afb0e4741db08f214d9082f157c251e4..fe14dd18210c40c72c9da2ac4fc81aeaf6b5a0f6 100644 (file)
@@ -61,7 +61,7 @@ class UnixObject(object):
             if len(o) != 2 or not isinstance(o[0], int) or not isinstance(o[1], str):
                 raise NotImplementedError(f"Unable to compare {type(o)} with {self.__class__}")
 
-            (id, name) = o
+            id, name = o
             return id == self.id and name == self.name
         elif isinstance(o, UnixObject):
             # Fallback to identity comparison