mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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
|
Notifier.serverDelta = delta + time.timezone - timezone
|
||||||
|
|
||||||
import NotifyCategory
|
import NotifyCategory
|
||||||
# Temporary try .. except for old Panda.
|
|
||||||
try:
|
|
||||||
NotifyCategory.NotifyCategory.setServerDelta(self.serverDelta)
|
NotifyCategory.NotifyCategory.setServerDelta(self.serverDelta)
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
self.info("Notify clock adjusted by %s (and timezone adjusted by %s hours) to synchronize with server." % (PythonUtil.formatElapsedSeconds(delta), (time.timezone - timezone) / 3600))
|
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
|
# Make sure any recently-sent datagrams are flushed when the
|
||||||
# time expires, if we're in collect-tcp mode.
|
# time expires, if we're in collect-tcp mode.
|
||||||
# Temporary try .. except for old Pandas.
|
|
||||||
try:
|
|
||||||
self.tcpConn.considerFlush()
|
self.tcpConn.considerFlush()
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
if self.rsDoReport:
|
if self.rsDoReport:
|
||||||
self.reportReaderStatistics()
|
self.reportReaderStatistics()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user