From: Luke Kenneth Casson Leighton Date: Tue, 16 Aug 2022 23:39:11 +0000 (+0100) Subject: whitespace - keep to under 80 chars X-Git-Tag: sv_maxu_works-initial~57 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac7ec9fc1d9b475f19748fca47c6b32c4233b525;p=openpower-isa.git whitespace - keep to under 80 chars --- 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