diff --git a/chipsec/hal/common/vmm.py b/chipsec/hal/common/vmm.py index 09b9bcff3c..a09bc0cbf9 100644 --- a/chipsec/hal/common/vmm.py +++ b/chipsec/hal/common/vmm.py @@ -156,4 +156,5 @@ def dump_device(self) -> None: else: self.cs.hals.Io.dump_IO(bar, size, 4) -haldata = {"arch":['FFFF'], 'name': ['Vmm']} + +haldata = {"arch": ['FFFF'], 'name': ['Vmm']} diff --git a/chipsec/utilcmd/vmm_cmd.py b/chipsec/utilcmd/vmm_cmd.py index a5d683f51d..7c95353067 100644 --- a/chipsec/utilcmd/vmm_cmd.py +++ b/chipsec/utilcmd/vmm_cmd.py @@ -72,9 +72,9 @@ def parse_arguments(self) -> None: parser_ept.set_defaults(func=self.vmm_pt) parser_virtio = subparsers.add_parser('is_virtio') - parser_virtio.add_argument('bus', type=lambda x: int(x,16), help='bus value (hex)') - parser_virtio.add_argument('dev', type=lambda x: int(x,16), help='device value (hex)') - parser_virtio.add_argument('fun', type=lambda x: int(x,16), help='function value (hex)') + parser_virtio.add_argument('bus', type=lambda x: int(x, 16), help='bus value (hex)') + parser_virtio.add_argument('dev', type=lambda x: int(x, 16), help='device value (hex)') + parser_virtio.add_argument('fun', type=lambda x: int(x, 16), help='function value (hex)') parser_virtio.set_defaults(func=self.vmm_virtio) parser_enumerate = subparsers.add_parser('virtio')