We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 394c076 commit 03e0236Copy full SHA for 03e0236
1 file changed
utils/profile_tool/most_used_components.py
@@ -1,4 +1,3 @@
1
-import sys
2
import os
3
from collections import defaultdict
4
@@ -7,13 +6,10 @@
7
6
from .most_used_rules import _sorted_dict_by_num_value
8
from .common import generate_output, merge_dicts, remove_zero_counts
9
10
-PYTHON_2 = sys.version_info[0] < 3
11
-
12
-if not PYTHON_2:
13
- from .most_used_rules import _get_profiles_for_product
14
- from ..controleval import (
15
- load_controls_manager,
16
- load_product_yaml,
+from .most_used_rules import _get_profiles_for_product
+from ..controleval import (
+ load_controls_manager,
+ load_product_yaml,
17
)
18
19
0 commit comments