mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
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:
parent
3f183f1756
commit
2b01a523e3
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user