Submitter | phabricator |
---|---|
Date | Feb. 18, 2018, 5:36 a.m. |
Message ID | <differential-rev-PHID-DREV-pwxpqj2gjw4c7fm6xy5r-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/28048/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -63,8 +63,6 @@ def getstyle(req, configfn, templatepath): fromreq = req.form.get('style', [None])[0] - if fromreq is not None: - fromreq = pycompat.sysbytes(fromreq) styles = ( fromreq, configfn('web', 'style'),