diff --git a/pisi/actionsapi/perlmodules.py b/pisi/actionsapi/perlmodules.py index b669802b..c67689d6 100644 --- a/pisi/actionsapi/perlmodules.py +++ b/pisi/actionsapi/perlmodules.py @@ -28,6 +28,12 @@ from pisi.actionsapi.shelltools import can_access_file from pisi.actionsapi.shelltools import export from pisi.actionsapi.shelltools import unlink +class CompileError(pisi.actionsapi.Error): + def __init__(self, value=''): + pisi.actionsapi.Error.__init__(self, value) + self.value = value + ctx.ui.error(value) + class ConfigureError(pisi.actionsapi.Error): def __init__(self, value=''): pisi.actionsapi.Error.__init__(self, value)