From 4387b1a88b5d0c28c8510e01b77ebb4364540c02 Mon Sep 17 00:00:00 2001 From: Philip Guyton Date: Wed, 20 Mar 2024 18:29:28 +0000 Subject: [PATCH] add type hint to qgourp_ids list to enforce str() members only #2807 --- src/rockstor/scripts/qgroup_maxout_limit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rockstor/scripts/qgroup_maxout_limit.py b/src/rockstor/scripts/qgroup_maxout_limit.py index 013d7f8b7..baa7979ab 100644 --- a/src/rockstor/scripts/qgroup_maxout_limit.py +++ b/src/rockstor/scripts/qgroup_maxout_limit.py @@ -34,7 +34,7 @@ def main(): print("Quotas not enabled on pool(%s). Skipping it." % p.name) continue - qgroup_ids = [] + qgroup_ids: list[str] = [] for l in o: if ( re.match("qgroupid", l) is not None