From ac7ec9fc1d9b475f19748fca47c6b32c4233b525 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 17 Aug 2022 00:39:11 +0100 Subject: [PATCH] whitespace - keep to under 80 chars --- src/openpower/decoder/selectable_int.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/selectable_int.py b/src/openpower/decoder/selectable_int.py index d4452bc0..5855cc8f 100644 --- a/src/openpower/decoder/selectable_int.py +++ b/src/openpower/decoder/selectable_int.py @@ -484,7 +484,8 @@ class SelectableIntMappingMeta(type): def __get__(self, instance, owner): if instance is None: return self.__field - return FieldSelectableInt(si=instance, br=self.__field).asint(msb0=True) + res = FieldSelectableInt(si=instance, br=self.__field) + return res.asint(msb0=True) class BitsProperty: def __init__(self, bits): @@ -527,7 +528,8 @@ class SelectableIntMappingMeta(type): yield (key, value) -class SelectableIntMapping(SelectableInt, metaclass=SelectableIntMappingMeta, bits=0): +class SelectableIntMapping(SelectableInt, metaclass=SelectableIntMappingMeta, + bits=0): def __init__(self, value=0, bits=None): if isinstance(value, int) and bits is None: bits = self.__class__.bits -- 2.30.2