From 21963fe580172e9ff37e0aebe80bf90f54131671 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 29 Jul 2010 19:50:13 -0500 Subject: [PATCH] print name of module that was loaded in __init__ --- Module.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Module.py b/Module.py index 579501f..07dead8 100644 --- a/Module.py +++ b/Module.py @@ -38,6 +38,9 @@ class Module(object): # Should do some error handling here. self.rehash = rehash # Is there another way to call the rehash function in dr.botzo? + # print what was loaded, for debugging + print("loaded " + self.__class__.__name__) + # This is called by __init__ and sets up server.add_global_handlers. Classes # inheriting from Module should implement this and set up the appropriate handlers, # e.g.: