gnomeExtensions: update-extensions.py improve collision warning

This commit is contained in:
Ryan Horiguchi 2022-04-23 01:20:37 +02:00
parent 3081845144
commit c88d12200c
No known key found for this signature in database
GPG Key ID: CA7EE98D45A1132A

View File

@ -198,7 +198,7 @@ def process_extension(extension: Dict[str, Any]) -> Optional[Dict[str, Any]]:
for shell_version in shell_version_map.keys(): for shell_version in shell_version_map.keys():
if pname in package_name_registry[shell_version]: if pname in package_name_registry[shell_version]:
logging.warning(f"Package name '{pname}' is colliding.") logging.warning(f"Package name '{pname}' for GNOME '{shell_version}' is colliding.")
package_name_registry[shell_version][pname].append(uuid) package_name_registry[shell_version][pname].append(uuid)
else: else:
package_name_registry[shell_version][pname] = [uuid] package_name_registry[shell_version][pname] = [uuid]