Try to fix the markdown (newlines are important)
This commit is contained in:
		
					parent
					
						
							
								2b286d21f6
							
						
					
				
			
			
				commit
				
					
						4dbc8a1c50
					
				
			
		
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -98,6 +98,7 @@ class RepoUpdater: | |||
|             logging.debug("No prior data - initializing empty") | ||||
|             self._data[repository] = dict() | ||||
| 
 | ||||
|         logging.debug("Updating list of repositories") | ||||
|         to_update = self.get_updated_remotes(repository) | ||||
| 
 | ||||
|         if not to_update: | ||||
|  | @ -163,18 +164,18 @@ def notify_matrix(update_data: Dict[str, List[Tuple[str, str]]]) -> None: | |||
|     for repo, update in update_data.items(): | ||||
|         heading = f"### {repo}\n" | ||||
|         structure.append(heading) | ||||
|         structure.append(f"Updated {len(update)} packages.") | ||||
|         structure.append(f"Updated {len(update)} packages.\n") | ||||
| 
 | ||||
|         for package, remote, state in update: | ||||
| 
 | ||||
|             if state != "error": | ||||
|                 row = (f"* {package} - [{state}]" | ||||
|                        f"(https://commits.kde.org/{remote}/{state}") | ||||
|                        f"(https://commits.kde.org/{remote}/{state})") | ||||
|                 structure.append(row) | ||||
|             else: | ||||
|                 errors.append(package) | ||||
| 
 | ||||
|     structure.append("#### Packages with errors") | ||||
|     structure.append("\n#### Packages with errors") | ||||
|     for errored in errors: | ||||
|         structure.append(f"* {errored}") | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue