( )⚙ D2747 hgweb: remove unused methods on wsgirequest

This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: remove unused methods on wsgirequest
ClosedPublic

Authored by indygreg on Mar 8 2018, 9:27 PM.

Details

Summary

writelines() isn't used in our code base.

close() was a no-op. It is an optional method per PEP 3333.

My eventual goal is to kill the wsgirequest class, hence why I'm
removing code.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Mar 8 2018, 9:27 PM
durin42 accepted this revision.Mar 9 2018, 5:15 PM
This revision is now accepted and ready to land.Mar 9 2018, 5:15 PM
indygreg edited the summary of this revision. (Show Details)Mar 10 2018, 3:03 PM
indygreg updated this revision to Diff 6827.
durin42 accepted this revision.Mar 12 2018, 4:52 PM
This revision was automatically updated to reflect the committed changes.