connectionpool: fix incorrect syntax

Summary: This should be self._repo.ui.

Reviewed By: quark-zju

Differential Revision: D8382375

fbshipit-source-id: b3269d8fdac3d2159f547b6220280109d8400dcb
This commit is contained in:
Durham Goode 2018-06-12 11:53:04 -07:00 committed by Facebook Github Bot
parent 3f183f1756
commit 2b01a523e3

View File

@ -50,7 +50,7 @@ class connectionpool(object):
conn = None
# If the connection has expired, close it
if conn is not None and conn.expired():
self._repo._ui.debug(
self._repo.ui.debug(
"not reusing expired connection to %s\n" % conn.path
)
conn.close()