Browse Source

devutils/update_platform_patches.py: Fix extra newline in series

Eloston 5 years ago
parent
commit
39dceb86e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      devutils/update_platform_patches.py

+ 1 - 1
devutils/update_platform_patches.py

@@ -137,7 +137,7 @@ def unmerge_platform_patches(platform_patches_dir):
         if current_path in path_inline_comments:
             new_series[series_index] = current_path + ' #' + path_inline_comments[current_path]
         if current_path in path_comments:
-            new_series.insert(series_index + 1, '\n'.join(path_comments[current_path]) + '\n')
+            new_series.insert(series_index + 1, '\n'.join(path_comments[current_path]))
             series_index += 1
         series_index += 1