Skip to content

Commit

Permalink
lint: ignore bandit warning
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmmatos committed Oct 22, 2024
1 parent f17f00d commit 6e564c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/sensor_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def lock_file(file_path, exclusive=True, timeout=300, retry_interval=5):
lock_file_handle = open(lock_file_path, 'w', encoding='utf-8') # pylint: disable=consider-using-with
start_time = time.time()
# Implement a delay to prevent thundering herd
delay = random.random()
delay = random.random() # nosec

while True:
try:
Expand Down

0 comments on commit 6e564c7

Please sign in to comment.