mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-12 16:05:49 +03:00
Update usage of open in setup.py (#9661)
This commit is contained in:
parent
0e1c7d3613
commit
1e8ac7c23b
3
setup.py
3
setup.py
|
@ -2,7 +2,6 @@ import os
|
|||
import re
|
||||
import shutil
|
||||
import sys
|
||||
from io import open
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
|
@ -36,7 +35,7 @@ an older version of Django REST Framework:
|
|||
|
||||
|
||||
def read(f):
|
||||
with open(f, 'r', encoding='utf-8') as file:
|
||||
with open(f, encoding='utf-8') as file:
|
||||
return file.read()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user