changeset 48934 | 06de08b36c82 |
parent 48875 | 6000f5b25c9b |
child 48946 | 642e31cb55f0 |
--- a/mercurial/hgweb/__init__.py Tue Mar 08 10:58:22 2022 +0100 +++ b/mercurial/hgweb/__init__.py Mon Feb 21 11:24:57 2022 -0700 @@ -36,7 +36,7 @@ - list of virtual:real tuples (multi-repo view) """ - if isinstance(config, pycompat.unicode): + if isinstance(config, str): raise error.ProgrammingError( b'Mercurial only supports encoded strings: %r' % config )