mercurial/ui.py
changeset 52426 22129ce9f86d
parent 52416 0a81f3ef054c
child 52542 8986a3a8147a
--- a/mercurial/ui.py	Wed Oct 23 00:43:17 2024 +0200
+++ b/mercurial/ui.py	Wed Oct 23 01:32:33 2024 +0200
@@ -335,7 +335,7 @@
         """Create a ui and load global and user configs"""
         u = cls()
         # we always trust global config files and environment variables
-        for t, f in rcutil.rccomponents():
+        for _lvl, t, f in rcutil.rccomponents():
             if t == b'path':
                 u.readconfig(f, trust=True)
             elif t == b'resource':