mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
remove support for old panda
This commit is contained in:
parent
8af6765f3d
commit
17dba63734
@ -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))
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user