Skip to content

hydra_resolver.py:146: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 msg = failure.value.message #1

@0x90CODE

Description

@0x90CODE

This seems to be an issue with this line

if we got a twisted.names.error.DomainError

   if (isinstance(failure.value, tn.error.DomainError) and
       isinstance(failure.value.message, tn.dns.Message)

and a later reference to msg = failure.value.message as message was deprecated in place of args

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions