Skip to content

Replace self.server.error_log() with self.error_log() in HTTPServer._serve_unservicable() #797

@webknjaz

Description

@webknjaz

There is no self.server within HTTPServer.

Originally posted by @martin-vi in #745 (comment)

cc @itamarst @pythonspeed


Solving this involves both doing what $sbj says and writing a test that covers the respective line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is brokengood first issueThis is what we believe is newcomer-friendly, feel free to contribute!hacktoberfest-acceptedDO's annual PR encouragementhelp wantedSomebody help us, please!reproducer: missingThis PR or issue lacks code, which reproduce the problem described or clearly understandable STR

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions