Changes between Initial Version and Version 1 of Ticket #1129


Ignore:
Timestamp:
2010-07-20T00:51:13Z (14 years ago)
Author:
davidsarah
Comment:

source:src/allmydata/__init__.py contains code that is intended to suppress this warning, but says to do so only when it comes from twisted:

# This warning is generated by twisted, but not when it is imported, only on an error.
warnings.filterwarnings("ignore", category=DeprecationWarning,
    message="BaseException.message has been deprecated as of Python 2.6",
    module=".*twisted.*", append=True)

I think this should just be changed to a global filter, i.e. delete 'module=".*twisted.*", '. This particular deprecation is not important and doesn't ever merit bothering any end-user.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1129

    • Property Status changed from new to assigned
    • Property Component changed from code to code-frontend-cli
    • Property Keywords easy added
    • Property Milestone changed from 1.8.0 to 1.8β
    • Property Owner changed from somebody to davidsarah
  • Ticket #1129 – Description

    initial v1  
    1313}}}
    1414
    15 The DeprecationWarning should have been suppressed.
     15The !DeprecationWarning should have been suppressed.