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