Page MenuHomeDevCentral

D1716.id4360.diff
No OneTemporary

D1716.id4360.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
Sun, Nov 24, 07:04 (11 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259048
Default Alt Text
D1716.id4360.diff (916 B)

Event Timeline