Browse Source

Remove very-annoying and pointless warning

rdb 17 years ago
parent
commit
b4fdf5cc46
1 changed files with 0 additions and 3 deletions
  1. 0 3
      direct/src/directnotify/DirectNotify.py

+ 0 - 3
direct/src/directnotify/DirectNotify.py

@@ -51,9 +51,6 @@ class DirectNotify:
         if (not self.__categories.has_key(categoryName)):
         if (not self.__categories.has_key(categoryName)):
             self.__categories[categoryName] = Notifier.Notifier(categoryName, logger)
             self.__categories[categoryName] = Notifier.Notifier(categoryName, logger)
             self.setDconfigLevel(categoryName)
             self.setDconfigLevel(categoryName)
-        else:
-            print "Warning: DirectNotify: category '%s' already exists" % \
-                  (categoryName)
         return (self.getCategory(categoryName))
         return (self.getCategory(categoryName))
 
 
     def setDconfigLevel(self, categoryName):
     def setDconfigLevel(self, categoryName):