Merge "Moved 'six' import to the top."

This commit is contained in:
Zuul 2021-09-01 18:38:16 +00:00 committed by Gerrit Code Review
commit 0c6a43a14b
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