summaryrefslogtreecommitdiff
path: root/fail2ban
diff options
context:
space:
mode:
authorsebres <serg.brester@sebres.de>2022-08-17 16:01:04 +0200
committersebres <serg.brester@sebres.de>2022-08-17 16:01:04 +0200
commit38026e59631fc1e1941a471941134e34ff253a81 (patch)
treed9185ab4dd900b5f3e7172eb34a8239f22f77e39 /fail2ban
parent535a982dccfb5e05f8fa0f3965e5bf454716179d (diff)
downloadfail2ban-38026e59631fc1e1941a471941134e34ff253a81.tar.gz
code review (replace deprecated setter, since python 3.10)
Diffstat (limited to 'fail2ban')
-rwxr-xr-xfail2ban/client/fail2banclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fail2ban/client/fail2banclient.py b/fail2ban/client/fail2banclient.py
index 6ea18fda..c72208cd 100755
--- a/fail2ban/client/fail2banclient.py
+++ b/fail2ban/client/fail2banclient.py
@@ -196,7 +196,7 @@ class Fail2banClient(Fail2banCmdLine, Thread):
th.daemon = True
th.start()
# Mark current (main) thread as daemon:
- self.setDaemon(True)
+ self.daemon = True
# Start server direct here in main thread (not fork):
self._server = Fail2banServer.startServerDirect(self._conf, False)