Fix by Dan Green and Corran Webster to support LongDateTime

values. Untested by me.
This commit is contained in:
Jack Jansen 2000-04-18 14:08:31 +00:00
parent cebda6f5f0
commit 316778860f

View file

@ -162,6 +162,9 @@ def unpack(desc):
return mkkeyword(desc.data)
if t == typeLongInteger:
return struct.unpack('l', desc.data)[0]
if t == typeLongDateTime:
a, b = struct.unpack('lL', desc.data)
return (long(a) << 32) + b
if t == typeNull:
return None
if t == typeMagnitude: