From 7fe77b4088570bfabc9eeb35aa131c6eec390bd3 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Wed, 2 Jun 2021 14:25:05 +0200 Subject: [PATCH] Moved 'six' import to the top. Signed-off-by: Jiri Podivin Change-Id: I032f8a463b554154d61a36a12ee6b136d0196224 --- library/ceph_pools_pg_protection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/ceph_pools_pg_protection.py b/library/ceph_pools_pg_protection.py index 7416bbe3a..d4a60d0a5 100644 --- a/library/ceph_pools_pg_protection.py +++ b/library/ceph_pools_pg_protection.py @@ -16,6 +16,9 @@ """ceph_pools_pg_protection module Used by the ceph-pg validation. """ + +import six + from yaml import safe_load as yaml_safe_load from ansible.module_utils.basic import AnsibleModule @@ -154,7 +157,6 @@ def check_pg_num(pool, pg_num, size, num_osds=0, max_pgs_per_osd=200, pools={}): # } # return 0; # } - import six msg = "" max_pgs = max_pgs_per_osd * num_osds projected = 0