nixpkgs/maintainers/scripts/pluginupdate-py
Austin Horstman 31bc320fd1
pluginupdate: fix AttributeError when handling HTTPResponse objects
Fix an issue in the vim-plugins-updater where it was trying to access the

'normalized_name' attribute on an HTTPResponse object, causing the updater

to crash with:

AttributeError: 'HTTPResponse' object has no attribute 'normalized_name'

The fix adds type checking to ensure we only access normalized_name on

Plugin objects, and properly handle other types like Exceptions and

HTTPResponse objects.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-18 09:06:48 -05:00
..
__init__.py
pluginupdate.py pluginupdate: fix AttributeError when handling HTTPResponse objects 2025-05-18 09:06:48 -05:00