Skip to content

Commit

Permalink
:squash: fix the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
skycastlelily committed Jun 28, 2024
1 parent ca26e5d commit 4df3aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tmt/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3479,6 +3479,7 @@ def show_runner(self, logger: tmt.log.Logger) -> None:
def prepare_for_try(self, tree: Tree) -> None:
""" Prepare the run for the try command """
self.tree = tree
self._save_tree(self.tree)
self._workdir_load(self._workdir_path)
self.config.last_run = self.workdir
self.info(str(self.workdir), color='magenta')
Expand Down
2 changes: 1 addition & 1 deletion tmt/trying.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def save(self) -> None:
assert self._cli_context_object is not None # narrow type
data = RunData(
root=str(self.tree.root) if self.tree.root else None,
plans=[plan.name for plan in self.plans] if self.plans is not None else None,
plans=[plan.name for plan in self.plans],
steps=list(self._cli_context_object.steps),
environment=self.environment,
remove=self.opt('remove')
Expand Down

0 comments on commit 4df3aa2

Please sign in to comment.