mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
m1n1.utils: Remove dead formatting
Signed-off-by: Martin Povišer <povik@protonmail.com>
This commit is contained in:
parent
145b1101c9
commit
301ba75b6b
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class Register(Reloadable, metaclass=RegisterMeta):
|
|||
return {k: getattr(self, k) for k in self._fields_list}
|
||||
|
||||
def str_fields(self):
|
||||
return f"{', '.join(f'{k}={self._field_val(k)}' for k in self._fields_list)}"
|
||||
return ', '.join(f'{k}={self._field_val(k)}' for k in self._fields_list)
|
||||
|
||||
def __str__(self):
|
||||
return f"0x{self._value:x} ({self.str_fields()})"
|
||||
|
|
Loading…
Reference in a new issue