Skip to content

Commit

Permalink
linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jan 20, 2022
1 parent 50d701d commit c51eabe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python-package/xgboost/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,9 @@ def _start_tracker(
if e.errno != 99: # not a bind error
raise
LOGGER.warning(
f"Failed to bind address: {get_host_ip(addr_from_user)}, try"
f" {addr_from_dask} instead."
"Failed to bind address: %s, try %s instead.",
str(get_host_ip(addr_from_user)),
str(addr_from_dask),
)
rabit_context = RabitTracker(
hostIP=addr_from_dask, n_workers=n_workers, use_logger=False
Expand Down

0 comments on commit c51eabe

Please sign in to comment.