Moved 'six' import to the top.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I032f8a463b554154d61a36a12ee6b136d0196224
This commit is contained in:
Jiri Podivin 2021-06-02 14:25:05 +02:00
parent 6956d74682
commit 7fe77b4088
1 changed files with 3 additions and 1 deletions

View File

@ -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