Page MenuHomeDevCentral

D1716.id4359.diff
No OneTemporary

D1716.id4359.diff

diff --git a/scripts/byTasks/HTTP/check-letsencrypt-certificates b/scripts/byTasks/HTTP/check-letsencrypt-certificates
--- a/scripts/byTasks/HTTP/check-letsencrypt-certificates
+++ b/scripts/byTasks/HTTP/check-letsencrypt-certificates
@@ -45,16 +45,16 @@
# -------------------------------------------------------------
-def check_directories(dirs):
- for dir in dirs:
- if os.path.isdir(dir):
- check_directory(dir)
+def check_directories(directories):
+ for directory in directories:
+ if os.path.isdir(directory):
+ check_directory(directory)
-def check_directory(dir):
- for file in os.listdir(dir):
+def check_directory(directory):
+ for file in os.listdir(directory):
if file.endswith(".conf"):
- fullpath = os.path.join(dir, file)
+ fullpath = os.path.join(directory, file)
check_certificate(fullpath)

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 13:36 (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2267018
Default Alt Text
D1716.id4359.diff (916 B)

Event Timeline