mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
Improve a comment in __init__.py.
This commit is contained in:
parent
4b80299fdd
commit
bf7e351464
@ -161,9 +161,8 @@ def get_package_versions_and_locations():
|
|||||||
message="BaseException.message has been deprecated as of Python 2.6",
|
message="BaseException.message has been deprecated as of Python 2.6",
|
||||||
append=True)
|
append=True)
|
||||||
|
|
||||||
# This is to suppress various DeprecationWarnings and UserWarnings that
|
# This is to suppress various DeprecationWarnings, UserWarnings, and RuntimeWarnings
|
||||||
# occur when modules are imported. See #859, #1435 and
|
# (listed in _auto_deps.py) that occur when modules are imported.
|
||||||
# http://divmod.org/trac/ticket/2994 [broken link].
|
|
||||||
|
|
||||||
for msg in deprecation_messages:
|
for msg in deprecation_messages:
|
||||||
warnings.filterwarnings("ignore", category=DeprecationWarning, message=msg, append=True)
|
warnings.filterwarnings("ignore", category=DeprecationWarning, message=msg, append=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user