|
@@ -311,8 +311,6 @@ class ClockDelta(DirectObject.DirectObject):
|
|
|
Preserves the lower NetworkTimeBits of the networkTime value,
|
|
Preserves the lower NetworkTimeBits of the networkTime value,
|
|
|
and extends the sign bit all the way up.
|
|
and extends the sign bit all the way up.
|
|
|
"""
|
|
"""
|
|
|
- # this may not be exacly what is wanted (it wraps the value), but
|
|
|
|
|
- # it matches the output that the old code did with Python 2.2.2.
|
|
|
|
|
r = ((networkTime+32768) & NetworkTimeMask) - 32768
|
|
r = ((networkTime+32768) & NetworkTimeMask) - 32768
|
|
|
assert -32768 <= r <= 32767
|
|
assert -32768 <= r <= 32767
|
|
|
return r
|
|
return r
|