# HG changeset patch # User Jeff Hammel # Date 1487614412 28800 # Node ID 2eb0a8dc2303ece2c64b9379afe59beab2190cb1 # Parent fb70a9c72ec2b998761dae3b10bebc5fdd3b55a2 python 3.5 diff -r fb70a9c72ec2 -r 2eb0a8dc2303 makeitso/python_module/setup.py --- a/makeitso/python_module/setup.py Mon Feb 20 10:10:21 2017 -0800 +++ b/makeitso/python_module/setup.py Mon Feb 20 10:13:32 2017 -0800 @@ -3,7 +3,7 @@ try: here = os.path.dirname(os.path.abspath(__file__)) - description = file(os.path.join(here, 'README.txt')).read() + description = open(os.path.join(here, 'README.txt')).read() except IOError: description = None diff -r fb70a9c72ec2 -r 2eb0a8dc2303 makeitso/python_package/setup.py --- a/makeitso/python_package/setup.py Mon Feb 20 10:10:21 2017 -0800 +++ b/makeitso/python_package/setup.py Mon Feb 20 10:13:32 2017 -0800 @@ -21,7 +21,7 @@ try: here = os.path.dirname(os.path.abspath(__file__)) - description = file(os.path.join(here, 'README.txt')).read() + description = open(os.path.join(here, 'README.txt')).read() except IOError: description = ''