make check easier to understand

This commit is contained in:
Matthias Mair 2026-04-03 01:33:02 +02:00
parent a366a5f961
commit 33b761fac3
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 1 additions and 3 deletions

View File

@ -265,9 +265,7 @@ def install_plugin(
if url:
# VCS based install - this can just be a VCS reference
if True in [
identifier in url for identifier in ['git+https', 'hg+https', 'svn+svn']
]:
if url.startswith(('git+https://', 'hg+https://', 'svn+svn://')):
# using a VCS provider
package_ref = f'{packagename}@{url}' if packagename else url
# http based index reference