summaryrefslogtreecommitdiffstats
path: root/cobbler/cexceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/cexceptions.py')
-rw-r--r--cobbler/cexceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cobbler/cexceptions.py b/cobbler/cexceptions.py
index a78f7f2..dba2857 100644
--- a/cobbler/cexceptions.py
+++ b/cobbler/cexceptions.py
@@ -20,6 +20,9 @@ class CobblerException(exceptions.Exception):
def __init__(self, value, *args):
self.value = value % args
+ # this is a hack to work around some odd exception handling
+ # in older pythons
+ self.from_cobbler = 1
def __str__(self):
return repr(self.value)