Skip to content

Commit b8e7025

Browse files
committed
formatting changes
1 parent e168296 commit b8e7025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intelmq/bin/intelmqctl.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def botnet_stop(self, group=None):
573573
# - sleep 0.75 s with an increment of 0.1
574574
# - at most 5 tries
575575
# => sleep-ing at most 4.75 seconds
576-
sleep_time = 0.75 # in seconds
576+
sleep_time = 0.75 # in seconds
577577
for _ in range(retries):
578578
# give the bots some time to terminate
579579
time.sleep(sleep_time)
@@ -590,7 +590,7 @@ def botnet_stop(self, group=None):
590590
# again to avoid long-term load on the system
591591
# but stop at 5 seconds to avoid waiting too long until rechecking
592592
# the status
593-
sleep_time = min(5, sleep_time+0.1)
593+
sleep_time = min(5, sleep_time + 0.1)
594594

595595
retval = 1
596596
if len(stopped_but_still_running_bots) == 0:

0 commit comments

Comments
 (0)