diff --git a/installsystems/image.py b/installsystems/image.py index d7f3ddbdabc1ade76a508464cf1a0b20e4d62638..7fef9b2c177496953caf586e448e3b033b0462c3 100644 --- a/installsystems/image.py +++ b/installsystems/image.py @@ -223,6 +223,8 @@ class Image(object): # sys must be in sys.module to allow loading of modules sysmodules["sys"] = sys sysmodules.update(self.modules) + # we need installsystems.printer to conserve arrow level + sysmodules["installsystems.printer"] = installsystems.printer exec bytecode in global_dict except Exception as e: raise ISError(u"Unable to execute script %s" % path, e)