app/soc/modules/core.py
changeset 2404 4f87bab3c6b3
parent 2359 d4de17ab9a1f
child 2833 5aa891de5aa5
--- a/app/soc/modules/core.py	Sat Jun 06 19:42:54 2009 +0200
+++ b/app/soc/modules/core.py	Sat Jun 06 20:29:09 2009 +0200
@@ -190,7 +190,7 @@
     modules = ['soc_core'] + settings.MODULES
     modules = [__import__(fmt % i, fromlist=['']) for i in modules]
 
-    for callback_class in [i.getCallback() for i in modules]:
+    for callback_class in [i.Callback for i in modules]:
       if callback_class.API_VERSION != self.API_VERSION:
         raise APIVersionMismatch(self.API_VERSION,
                                  callback_class.API_VERSION)