Whitespace normalization.

This commit is contained in:
Tim Peters 2003-02-19 02:35:07 +00:00
parent f805cd2c1f
commit f2715e0764
26 changed files with 110 additions and 114 deletions

View file

@ -16,11 +16,11 @@ import zipimport
def make_pyc(co, mtime):
data = marshal.dumps(co)
if type(mtime) is type(0.0):
# Mac mtimes need a bit of special casing
if mtime < 0x7fffffff:
mtime = int(mtime)
else:
mtime = int(-0x100000000L + long(mtime))
# Mac mtimes need a bit of special casing
if mtime < 0x7fffffff:
mtime = int(mtime)
else:
mtime = int(-0x100000000L + long(mtime))
pyc = imp.get_magic() + struct.pack("<i", int(mtime)) + data
return pyc