Skip to content

Commit d6c70b7

Browse files
committed
remove perms conversion, done in a common function
1 parent 707dfba commit d6c70b7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sonar/applications.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,6 @@ def search_by_name(endpoint: pf.Platform, name: str) -> dict[str, Application]:
604604
def convert_app_json(old_app_json: dict[str, Any]) -> dict[str, Any]:
605605
"""Converts sonar-config old JSON report format to new format for a single application"""
606606
new_json = common_json_helper.convert_common_fields(old_app_json.copy())
607-
if "permissions" in old_app_json:
608-
new_json["permissions"] = util.perms_to_list(old_app_json["permissions"])
609607
if "branches" in old_app_json:
610608
new_json["branches"] = util.dict_to_list(old_app_json["branches"], "name")
611609
return new_json

0 commit comments

Comments
 (0)