浏览代码

minor change

Dave Schuyler 21 年之前
父节点
当前提交
36a12d69b3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/distributed/ClientRepository.py

+ 1 - 1
direct/src/distributed/ClientRepository.py

@@ -176,7 +176,7 @@ class ClientRepository(ConnectionRepository.ConnectionRepository):
             parentId = di.getUint32()
             zoneId = di.getUint32()
             obj = self.doId2do.get(doId)
-            if (obj != None):
+            if obj is not None:
                 self.notify.info("handleObjectLocation: doId: %s parentId: %s zoneId: %s" %
                                  (doId, parentId, zoneId))
                 # Let the object finish the job