remove with_context decorator from CurtinPartitioningStep.run

To avoid having nested contexts for one step. It's a bit unsatisfying
because conceptually the code in CurtinPartitioningStep.run should be
considered part of the same context but I don't see a good way to do
that and it's not of practical significance.
This commit is contained in:
Michael Hudson-Doyle 2022-10-06 14:01:27 +13:00
parent 8b47359ef2
commit c2c8460b50
1 changed files with 0 additions and 2 deletions

View File

@ -115,8 +115,6 @@ class CurtinInstallStep:
class CurtinPartitioningStep(CurtinInstallStep):
device_map_path: Path
@with_context(
description="executing curtin install {self.name} step")
async def run(self, context):
await super().run(context=context)
with open(self.device_map_path) as fp: