Skip to content

Commit 82f62a2

Browse files
committed
Export project QPs as list
1 parent 72f9c0f commit 82f62a2

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
@@ -1005,7 +1005,7 @@ def export(self, export_settings: types.ConfigSettings, settings_list: Optional[
10051005
nc = self.new_code()
10061006
if nc != "":
10071007
json_data[settings.NEW_CODE_PERIOD] = nc
1008-
json_data["qualityProfiles"] = self.__export_get_qp()
1008+
json_data["qualityProfiles"] = util.dict_to_list(self.__export_get_qp(), "language", "name")
10091009
json_data["links"] = self.links()
10101010
json_data["permissions"] = self.permissions().to_json(csv=export_settings.get("INLINE_LISTS", True))
10111011
if self.endpoint.version() >= (10, 7, 0):

0 commit comments

Comments
 (0)