diff -r cd03fbd5ab57 -r 00f317788d33 contrib/fixpax.py --- a/contrib/fixpax.py Sun Mar 06 03:06:09 2016 +0530 +++ b/contrib/fixpax.py Sun Mar 06 03:10:17 2016 +0530 @@ -11,7 +11,10 @@ *.mpkg/Contents/Packages/*.pkg/Contents/Archive.pax.gz """ -import sys, os, gzip +from __future__ import absolute_import, print_function +import gzip +import os +import sys def fixpax(iname, oname): i = gzip.GzipFile(iname) @@ -55,7 +58,7 @@ if __name__ == '__main__': for iname in sys.argv[1:]: - print 'fixing file ownership in %s' % iname + print('fixing file ownership in %s' % iname) oname = sys.argv[1] + '.tmp' fixpax(iname, oname) os.rename(oname, iname)