mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
Remove deprecated U
mode from open() call
Under the right conditions (with newer Python 3.x versions), we will see this warning: setup.py:360: DeprecationWarning: 'U' mode is deprecated `U` is for `universal newline mode`. Docs for open() says this: 'U' mode is deprecated and will raise an exception in future versions of Python. It has no effect in Python 3. Use newline to control universal newlines mode. Off it goes.
This commit is contained in:
parent
5f7c6e4552
commit
d9446f9f06
2
setup.py
2
setup.py
@ -357,7 +357,7 @@ if version:
|
||||
|
||||
setup(name="tahoe-lafs", # also set in __init__.py
|
||||
description='secure, decentralized, fault-tolerant file store',
|
||||
long_description=open('README.rst', 'rU').read(),
|
||||
long_description=open('README.rst', 'r').read(),
|
||||
author='the Tahoe-LAFS project',
|
||||
author_email='tahoe-dev@tahoe-lafs.org',
|
||||
url='https://tahoe-lafs.org/',
|
||||
|
Loading…
x
Reference in New Issue
Block a user