old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import os
  
  from setuptools import setup, find_packages
  
  
  def read(fname):
      return open(os.path.join(os.path.dirname(__file__), fname), 'rb').read
      ().decode('utf8')
  
  
  setup(name='mtgjson',
        version='0.4.0.dev1',
        description='A python library for working with data from mtgjson.com.',
        long_description=read('README.rst'),
        author='Marc Brinkmann',
        author_email='git@marcbrinkmann.de',
        url='http://github.com/mbr/pymtgjson',
        license='MIT',
        packages=find_packages(exclude=['tests']),
        install_requires=['docutils', 'requests', 'six'],
        classifiers=[
            'Programming Language :: Python :: 2',
            'Programming Language :: Python :: 3',
        ])
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import os
  
  from setuptools import setup, find_packages
  
  
  def read(fname):
      with open(os.path.join(os.path.dirname(__file__), fname), 'rb') as f:
          return f.read().decode('utf8')
  
  
  setup(name='mtgjson',
        version='0.4.0.dev1',
        description='A python library for working with data from mtgjson.com.',
        long_description=read('README.rst'),
        author='Marc Brinkmann',
        author_email='git@marcbrinkmann.de',
        url='http://github.com/mbr/pymtgjson',
        license='MIT',
        packages=find_packages(exclude=['tests']),
        install_requires=['docutils', 'requests', 'six'],
        classifiers=[
            'Programming Language :: Python :: 2',
            'Programming Language :: Python :: 3',
        ])
  
subject: Fix read function.