Skip to content

Commit 9a78a09

Browse files
authored
Export project branches as list (#2056)
1 parent d4fff5c commit 9a78a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonar/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ def export(self, export_settings: types.ConfigSettings, settings_list: Optional[
10101010
json_data["permissions"] = self.permissions().to_json(csv=export_settings.get("INLINE_LISTS", True))
10111011
if self.endpoint.version() >= (10, 7, 0):
10121012
json_data["aiCodeFix"] = self.ai_code_fix()
1013-
json_data["branches"] = self.__get_branch_export(export_settings)
1013+
json_data["branches"] = util.dict_to_list(self.__get_branch_export(export_settings), "name")
10141014
json_data["tags"] = self.get_tags()
10151015
json_data["visibility"] = self.visibility()
10161016
(json_data["qualityGate"], qg_is_default) = self.quality_gate()

0 commit comments

Comments
 (0)