Browse Source

remove support for old panda

David Rose 22 years ago
parent
commit
17dba63734
2 changed files with 2 additions and 10 deletions
  1. 1 5
      direct/src/directnotify/Notifier.py
  2. 1 5
      direct/src/distributed/ClientRepository.py

+ 1 - 5
direct/src/directnotify/Notifier.py

@@ -38,11 +38,7 @@ class Notifier:
         Notifier.serverDelta = delta + time.timezone - timezone
 
         import NotifyCategory
-        # Temporary try .. except for old Panda.
-        try:
-            NotifyCategory.NotifyCategory.setServerDelta(self.serverDelta)
-        except:
-            pass
+        NotifyCategory.NotifyCategory.setServerDelta(self.serverDelta)
             
         self.info("Notify clock adjusted by %s (and timezone adjusted by %s hours) to synchronize with server." % (PythonUtil.formatElapsedSeconds(delta), (time.timezone - timezone) / 3600))
 

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

@@ -233,11 +233,7 @@ class ClientRepository(DirectObject.DirectObject):
 
         # Make sure any recently-sent datagrams are flushed when the
         # time expires, if we're in collect-tcp mode.
-        # Temporary try .. except for old Pandas.
-        try:
-            self.tcpConn.considerFlush()
-        except:
-            pass
+        self.tcpConn.considerFlush()
 
         if self.rsDoReport:
             self.reportReaderStatistics()