瀏覽代碼

remove old panda support

David Rose 18 年之前
父節點
當前提交
c6be6a0821
共有 1 個文件被更改,包括 2 次插入6 次删除
  1. 2 6
      direct/src/distributed/ClientRepositoryBase.py

+ 2 - 6
direct/src/distributed/ClientRepositoryBase.py

@@ -69,12 +69,8 @@ class ClientRepositoryBase(ConnectionRepository):
         class type is marked "deferrable".  Set this to 0 to indicate
         no deferring will occur."""
 
-        # Temporary condition for old Pandas.
-        if hasattr(self, 'setHandleCUpdates'):
-            self.deferInterval = deferInterval
-            self.setHandleCUpdates(self.deferInterval != 0)
-        else:
-            self.deferInterval = 0
+        self.deferInterval = deferInterval
+        self.setHandleCUpdates(self.deferInterval != 0)
 
         if self.deferredGenerates:
             taskMgr.remove('deferredGenerate')