瀏覽代碼

changed debugCall()

Dave Schuyler 21 年之前
父節點
當前提交
820c8297f5
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      direct/src/directnotify/Notifier.py

+ 4 - 2
direct/src/directnotify/Notifier.py

@@ -218,10 +218,12 @@ class Notifier:
 
 
     def debugCall(self, debugString=''):
     def debugCall(self, debugString=''):
         """
         """
-        
+        If this notify is in debug mode, print the time of the 
+        call followed by the notifier category and
+        the function call (with parameters).
         """
         """
         if (self.__debug):
         if (self.__debug):
-            string = ":%s %s %s.%s %s"%(
+            string = ":%s %s %s.%s"%(
                 self.getOnlyTime(),
                 self.getOnlyTime(),
                 debugString,
                 debugString,
                 self.__name,
                 self.__name,