Skip to content

Commit f9a29f5

Browse files
committed
notifyAll() is deprecated
1 parent bccda25 commit f9a29f5

File tree

1 file changed

+2
-2
lines changed
  • tools/src/main/python/opengrok_tools/utils

1 file changed

+2
-2
lines changed

tools/src/main/python/opengrok_tools/utils/command.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#
1919

2020
#
21-
# Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
21+
# Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2222
#
2323

2424
import logging
@@ -297,7 +297,7 @@ def close(self):
297297
finally:
298298
if self.timeout != 0 and timeout_thread:
299299
with time_condition:
300-
time_condition.notifyAll()
300+
time_condition.notify_all()
301301

302302
# The subprocess module does not close the write pipe descriptor
303303
# it fetched via OutputThread's fileno() so in order to gracefully

0 commit comments

Comments
 (0)