ui: stop using the `pycompat.open()` shim
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 04 Dec 2024 20:45:13 -0500
changeset 52362 7ac8fdb70bae
parent 52361 07a5a249faf8
child 52363 6a8edf9f0a6d
ui: stop using the `pycompat.open()` shim The two instances here were already compatible with the py3 builtin function.
mercurial/ui.py
--- a/mercurial/ui.py	Wed Dec 04 20:43:20 2024 -0500
+++ b/mercurial/ui.py	Wed Dec 04 20:45:13 2024 -0500
@@ -38,9 +38,6 @@
 
 from .i18n import _
 from .node import hex
-from .pycompat import (
-    open,
-)
 
 from . import (
     color,