Commit ea174fce authored by Barry Warsaw's avatar Barry Warsaw

fsrecover.py for one also uses t32, so define it outside the version

test.
parent 45b629a5
......@@ -18,8 +18,9 @@ import TimeStamp, time
from struct import pack, unpack
z64 = '\0'*8
t32 = 1L << 32
if sys.version_info >= (2, 2):
if sys.hexversion >= 0x02020000:
# Note that the distinction between ints and longs is blurred in
# Python 2.2. So make u64() and U64() the same.
......@@ -36,8 +37,6 @@ if sys.version_info >= (2, 2):
else:
t32 = 1L << 32
def p64(v):
"""Pack an integer or long into a 8-byte string"""
if v < t32:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment