mercurial/keepalive.py
changeset 43103 c95b2f40db7c
parent 43089 c59eb1560c44
child 43106 d783f945a701
--- a/mercurial/keepalive.py	Sun Oct 06 14:58:41 2019 -0400
+++ b/mercurial/keepalive.py	Sun Oct 06 17:45:05 2019 -0400
@@ -255,7 +255,7 @@
         # If not a persistent connection, don't try to reuse it. Look
         # for this using getattr() since vcr doesn't define this
         # attribute, and in that case always close the connection.
-        if getattr(r, r'will_close', True):
+        if getattr(r, 'will_close', True):
             self._cm.remove(h)
 
         if DEBUG: