Skip to content

Commit

Permalink
Merge pull request #74 from plus3it/dependabot/docker/plus3it/tardigr…
Browse files Browse the repository at this point in the history
…ade-ci-0.25.0

Bump plus3it/tardigrade-ci from 0.24.15 to 0.25.0
  • Loading branch information
mergify[bot] authored Aug 1, 2024
2 parents e732d85 + d40b6d2 commit 5e899e7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM plus3it/tardigrade-ci:0.24.15
FROM plus3it/tardigrade-ci:0.25.0
72 changes: 36 additions & 36 deletions _modules/win_lgpo.py
Original file line number Diff line number Diff line change
Expand Up @@ -6931,9 +6931,9 @@ def _checkAllAdmxPolicies(
TRUE_VALUE_XPATH,
policy_file_data,
):
configured_elements[
this_element_name
] = True
configured_elements[this_element_name] = (
True
)
log.trace(
"element %s is configured true",
child_item.attrib["id"],
Expand All @@ -6950,9 +6950,9 @@ def _checkAllAdmxPolicies(
FALSE_VALUE_XPATH,
policy_file_data,
):
configured_elements[
this_element_name
] = False
configured_elements[this_element_name] = (
False
)
policy_disabled_elements = (
policy_disabled_elements + 1
)
Expand All @@ -6974,9 +6974,9 @@ def _checkAllAdmxPolicies(
TRUE_LIST_XPATH,
policy_file_data,
):
configured_elements[
this_element_name
] = True
configured_elements[this_element_name] = (
True
)
log.trace(
"element %s is configured true",
child_item.attrib["id"],
Expand All @@ -6993,9 +6993,9 @@ def _checkAllAdmxPolicies(
FALSE_LIST_XPATH,
policy_file_data,
):
configured_elements[
this_element_name
] = False
configured_elements[this_element_name] = (
False
)
policy_disabled_elements = (
policy_disabled_elements + 1
)
Expand Down Expand Up @@ -7095,9 +7095,9 @@ def _checkAllAdmxPolicies(
),
policy_file_data,
)
configured_elements[
this_element_name
] = configured_value
configured_elements[this_element_name] = (
configured_value
)
log.trace(
"element %s is enabled, value == %s",
child_item.attrib["id"],
Expand Down Expand Up @@ -7217,9 +7217,9 @@ def _checkAllAdmxPolicies(
policy_file_data,
return_value_name=return_value_name,
)
configured_elements[
this_element_name
] = configured_value
configured_elements[this_element_name] = (
configured_value
)
log.trace(
"element %s is enabled values: %s",
child_item.attrib["id"],
Expand Down Expand Up @@ -9524,23 +9524,23 @@ def _get_policy_adm_setting(
log.trace(
"all valueList items exist in file"
)
configured_elements[
this_element_name
] = _getAdmlDisplayName(
configured_elements[this_element_name] = (
_getAdmlDisplayName(
adml_xml_data=adml_policy_resources,
display_name=enum_item.attrib[
"displayName"
],
)
)
break
else:
configured_elements[this_element_name] = (
_getAdmlDisplayName(
adml_xml_data=adml_policy_resources,
display_name=enum_item.attrib[
"displayName"
],
)
break
else:
configured_elements[
this_element_name
] = _getAdmlDisplayName(
adml_xml_data=adml_policy_resources,
display_name=enum_item.attrib[
"displayName"
],
)
break
elif etree.QName(child_item).localname == "list":
Expand Down Expand Up @@ -9675,12 +9675,12 @@ def _get_policy_adm_setting(
this_policy_namespace in policy_vals
and this_policy_name in policy_vals[this_policy_namespace]
):
hierarchy.setdefault(this_policy_namespace, {})[
this_policy_name
] = _build_parent_list(
policy_definition=admx_policy,
return_full_policy_names=return_full_policy_names,
adml_language=adml_language,
hierarchy.setdefault(this_policy_namespace, {})[this_policy_name] = (
_build_parent_list(
policy_definition=admx_policy,
return_full_policy_names=return_full_policy_names,
adml_language=adml_language,
)
)

if policy_vals and return_full_policy_names and not hierarchical_return:
Expand Down

0 comments on commit 5e899e7

Please sign in to comment.