瀏覽代碼

changed a print to a notify

Chris Brunner 18 年之前
父節點
當前提交
f40a92ed1b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      direct/src/distributed/ConnectionRepository.py

+ 2 - 1
direct/src/distributed/ConnectionRepository.py

@@ -134,7 +134,8 @@ class ConnectionRepository(
         # Look up the dclass
         dclass = self.dclassesByName.get(dcname+self.dcSuffix)
         if dclass is None:
-            print "\n\n\nNeed to define", dcname+self.dcSuffix
+            #print "\n\n\nNeed to define", dcname+self.dcSuffix
+            self.notify.warning("Need to define %s" % (dcname+self.dcSuffix))
             dclass = self.dclassesByName.get(dcname+'AI')
         if dclass is None:
             dclass = self.dclassesByName.get(dcname)