prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Fix content app not showing file size for 0 byte files
  fixes: #5100
  
  </issue>
  <code>
  [start of setup.py]
  1 from setuptools import find_packages, setup
  2 
  3 with open('README.md') as f:
  4     long_description = f.read()
  5 
  6 requirements = [
  7     'coreapi~=2.3.3',
  8     'Django~=2.2.3',  # LTS version, switch only if we have a compelling reason to
  9     'django-filter~=2.2.0',
  10     'djangorestframework~=3.10.2',
  11     'djangorestframework-queryfields~=1.0.0',
  12     'drf-nested-routers~=0.91.0',
  13     'drf-yasg~=1.16.1',
  14     'gunicorn~=19.9.0',
  15     'packaging',  # until drf-yasg 1.16.2 is out https://github.com/axnsan12/drf-yasg/issues/412
  16     'PyYAML~=5.1.1',
  17     'rq~=1.1.0',
  18     'redis~=3.1.0',
  19     'setuptools>=41.0.1,<41.3.0',
  20     'dynaconf~=2.1.0',
  21     'whitenoise~=4.1.3',
  22 ]
  23 
  24 setup(
  25     name='pulpcore',
  26     version='3.0.0rc6.dev',
  27     description='Pulp Django Application and Related Modules',
  28     long_description=long_description,
  29     long_description_content_type="text/markdown",
  30     license='GPLv2+',
  31     packages=find_packages(exclude=['test']),
  32     author='Pulp Team',
  33     author_email='pulp-list@redhat.com',
  34     url='http://www.pulpproject.org',
  35     python_requires='>=3.6',
  36     install_requires=requirements,
  37     extras_require={
  38         'postgres': ['psycopg2-binary'],
  39         'mysql': ['mysqlclient']
  40     },
  41     include_package_data=True,
  42     classifiers=(
  43         'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
  44         'Operating System :: POSIX :: Linux',
  45         'Development Status :: 4 - Beta',
  46         'Framework :: Django',
  47         'Programming Language :: Python',
  48         'Programming Language :: Python :: 3',
  49         'Programming Language :: Python :: 3.6',
  50         'Programming Language :: Python :: 3.7',
  51     ),
  52     scripts=['bin/pulp-content'],
  53 )
  54
  [end of setup.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -13,6 +13,7 @@
       'drf-yasg~=1.16.1',
       'gunicorn~=19.9.0',
       'packaging',  # until drf-yasg 1.16.2 is out https://github.com/axnsan12/drf-yasg/issues/412
  +    'psycopg2-binary',
       'PyYAML~=5.1.1',
       'rq~=1.1.0',
       'redis~=3.1.0',
  @@ -34,10 +35,6 @@
       url='http://www.pulpproject.org',
       python_requires='>=3.6',
       install_requires=requirements,
  -    extras_require={
  -        'postgres': ['psycopg2-binary'],
  -        'mysql': ['mysqlclient']
  -    },
       include_package_data=True,
       classifiers=(
           'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -13,6 +13,7 @@\n     'drf-yasg~=1.16.1',\n     'gunicorn~=19.9.0',\n     'packaging',  # until drf-yasg 1.16.2 is out https://github.com/axnsan12/drf-yasg/issues/412\n+    'psycopg2-binary',\n     'PyYAML~=5.1.1',\n     'rq~=1.1.0',\n     'redis~=3.1.0',\n@@ -34,10 +35,6 @@\n     url='http://www.pulpproject.org',\n     python_requires='>=3.6',\n     install_requires=requirements,\n-    extras_require={\n-        'postgres': ['psycopg2-binary'],\n-        'mysql': ['mysqlclient']\n-    },\n     include_package_data=True,\n     classifiers=(\n         'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',\n", "issue": "Fix content app not showing file size for 0 byte files\nfixes: #5100\n", "before_files": [{"content": "from setuptools import find_packages, setup\n\nwith open('README.md') as f:\n    long_description = f.read()\n\nrequirements = [\n    'coreapi~=2.3.3',\n    'Django~=2.2.3',  # LTS version, switch only if we have a compelling reason to\n    'django-filter~=2.2.0',\n    'djangorestframework~=3.10.2',\n    'djangorestframework-queryfields~=1.0.0',\n    'drf-nested-routers~=0.91.0',\n    'drf-yasg~=1.16.1',\n    'gunicorn~=19.9.0',\n    'packaging',  # until drf-yasg 1.16.2 is out https://github.com/axnsan12/drf-yasg/issues/412\n    'PyYAML~=5.1.1',\n    'rq~=1.1.0',\n    'redis~=3.1.0',\n    'setuptools>=41.0.1,<41.3.0',\n    'dynaconf~=2.1.0',\n    'whitenoise~=4.1.3',\n]\n\nsetup(\n    name='pulpcore',\n    version='3.0.0rc6.dev',\n    description='Pulp Django Application and Related Modules',\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    license='GPLv2+',\n    packages=find_packages(exclude=['test']),\n    author='Pulp Team',\n    author_email='pulp-list@redhat.com',\n    url='http://www.pulpproject.org',\n    python_requires='>=3.6',\n    install_requires=requirements,\n    extras_require={\n        'postgres': ['psycopg2-binary'],\n        'mysql': ['mysqlclient']\n    },\n    include_package_data=True,\n    classifiers=(\n        'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',\n        'Operating System :: POSIX :: Linux',\n        'Development Status :: 4 - Beta',\n        'Framework :: Django',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n    ),\n    scripts=['bin/pulp-content'],\n)\n", "path": "setup.py"}]}