--- a/mercurial/posix.py Sun Oct 06 16:39:13 2019 -0400
+++ b/mercurial/posix.py Sun Oct 06 16:55:18 2019 -0400
@@ -21,7 +21,10 @@
import unicodedata
from .i18n import _
-from .pycompat import open
+from .pycompat import (
+ getattr,
+ open,
+)
from . import (
encoding,
error,