remove support for old panda

This commit is contained in:
David Rose 2003-04-22 16:41:21 +00:00
parent 8af6765f3d
commit 17dba63734
2 changed files with 2 additions and 10 deletions

View File

@ -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))

View File

@ -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()