diff --git a/proxyclient/m1n1/hv/__init__.py b/proxyclient/m1n1/hv/__init__.py index 6a7d46599..56fdff9d4 100644 --- a/proxyclient/m1n1/hv/__init__.py +++ b/proxyclient/m1n1/hv/__init__.py @@ -129,6 +129,8 @@ def _update_shell_locals(self): if callable(a): self.shell_locals[attr] = getattr(self, attr) + self.shell_locals["ctx"] = self.context + def log(self, s, *args, show_cpu=True, **kwargs): if self.ctx is not None and show_cpu: print(f"[cpu{self.ctx.cpu_id}] " + s, *args, **kwargs)