Explorar o código

*** empty log message ***

Josh Yelon %!s(int64=21) %!d(string=hai) anos
pai
achega
de2c9d7127
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      direct/src/directnotify/DirectNotify.py

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

@@ -79,8 +79,10 @@ class DirectNotify:
             level = config.GetString('default-directnotify-level', '')
 
         if level:
-            print ("Setting DirectNotify category: " + categoryName +
-                   " to severity: " + level)
+            # Note - this print statement is making it difficult to
+            # achieve "no output unless there's an error" operation - Josh
+            # print ("Setting DirectNotify category: " + categoryName +
+            #        " to severity: " + level)
             category = self.getCategory(categoryName)
             if level == "error":
                 category.setWarning(0)