changeset 52642 | 73ab542565e0 |
parent 52640 | 24ee91ba9aa8 |
child 52743 | 1ccbca64610a |
--- a/mercurial/dispatch.py Sun Jan 05 22:00:40 2025 -0500 +++ b/mercurial/dispatch.py Sun Jan 05 22:12:02 2025 -0500 @@ -846,7 +846,7 @@ for cfg in config: try: - name, value = [cfgelem.strip() for cfgelem in cfg.split(b'=', 1)] + name, value = (cfgelem.strip() for cfgelem in cfg.split(b'=', 1)) section, name = name.split(b'.', 1) if not section or not name: raise IndexError