From e79d945561ef7b31578fb8972668c236a04262bd Mon Sep 17 00:00:00 2001 From: Henrik Triem <henrik.triem@icinga.com> Date: Tue, 18 Oct 2022 11:11:34 +0000 Subject: [PATCH] Typo --- icinga-build-upload-aptly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icinga-build-upload-aptly b/icinga-build-upload-aptly index 57c85dc..731331f 100755 --- a/icinga-build-upload-aptly +++ b/icinga-build-upload-aptly @@ -32,7 +32,7 @@ def scan_dir(path, pattern): def detect_rpm(path): rpms = scan_dir(path, '*.rpm') - if len(rpm) == 0: + if len(rpms) == 0: return [] return rpms -- GitLab