mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-26 14:03:17 +00:00
tests/system/framework/utils/tools.py: apply style fix for tuple unpacking
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
parent
958b485999
commit
0e167e2a02
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user