From fddd3ebae19f0fe0cf8b0a7dd1a4336e6ef28eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Mon, 6 Nov 2006 18:28:09 +0000 Subject: [PATCH] define CompileError, so it can be used --- pisi/actionsapi/perlmodules.py | 6 ++++++ 1 file changed, 6 insertions(+) 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)