minor: more readable format

This commit is contained in:
Mike Dirolf 2009-08-24 10:21:31 -04:00
parent 07405e6e0d
commit d4c3eed06d

View File

@ -68,7 +68,7 @@ class ObjectId(object):
oid += machine_hash.digest()[0:3]
# 2 bytes pid
oid += struct.pack("<H", os.getpid() % 65535)
oid += struct.pack("<H", os.getpid() % 0xFFFF)
# 3 bytes inc
ObjectId._inc_lock.acquire()