File fix-exception.dif of Package koan

Index: koan-2.9.0/koan/cexceptions.py
===================================================================
--- koan-2.9.0.orig/koan/cexceptions.py
+++ koan-2.9.0/koan/cexceptions.py
@@ -24,7 +24,10 @@ Foundation, Inc., 51 Franklin Street, Fi
 class KoanException(Exception):
 
     def __init__(self, value, *args):
-        self.value = value % args
+        if args:
+            self.value = value % args
+        else:
+            self.value = value
         # this is a hack to work around some odd exception handling
         # in older pythons
         self.from_koan = 1
openSUSE Build Service is sponsored by