Submitter | phabricator |
---|---|
Date | April 14, 2018, 4:32 a.m. |
Message ID | <differential-rev-PHID-DREV-wz4pwqe33zzgvgzcpnal-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/30977/ |
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 @@ -208,7 +208,7 @@ be multiple active threads inside __call__. """ def __init__(self, repo, name=None, baseui=None): - if isinstance(repo, str): + if isinstance(repo, bytes): if baseui: u = baseui.copy() else: