From c6cb9940fd1b07c1aefdb7377324f56cac9a57bb Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 4 Jun 2020 17:52:21 +0100 Subject: [PATCH] whitespace --- src/soc/decoder/selectable_int.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/decoder/selectable_int.py b/src/soc/decoder/selectable_int.py index 80eebf48..0df22df7 100644 --- a/src/soc/decoder/selectable_int.py +++ b/src/soc/decoder/selectable_int.py @@ -141,7 +141,6 @@ class FieldSelectableIntTestCase(unittest.TestCase): fs[0:2] = 0b10 self.assertEqual(fs.get_range(), 0b1011) - class SelectableInt: @@ -366,6 +365,7 @@ class SelectableInt: def asint(self): return self.value + def onebit(bit): return SelectableInt(1 if bit else 0, 1) -- 2.30.2