Page MenuHomePhabricator

hgweb: enable reading styles from resources in frozen binaries
ClosedPublic

Authored by martinvonz on Aug 5 2020, 6:05 PM.

Details

Summary

All we need to do to read styles from resources is to pass the
file-like object we get from open_template() on to frommapfile().

This takes the number of failing tests with PyOxidizer from 62 to 54.

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

martinvonz created this revision.Aug 5 2020, 6:05 PM
indygreg accepted this revision.Aug 5 2020, 8:40 PM
This revision is now accepted and ready to land.Aug 5 2020, 8:40 PM