Kaynağa Gözat

Allow missing _versions in package group

main
Sindre Stephansen 2 yıl önce
ebeveyn
işleme
d848a7d0bd
İmzalayan: sindre <sindre@sindrestephansen.com> GPG Anahtar Kimliği: B06FC67D17A46ADE
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      sync/src/config.py

+ 1
- 1
sync/src/config.py Dosyayı Görüntüle

@@ -37,7 +37,7 @@ def handle_packages(section) -> list[str]:
logger.warning(f'Invalid version "{versions}" for "{entry}". Should be a string or list.')
elif isinstance(section[entry], dict):
group_section = section[entry]
default_versions = group_section['_versions']
default_versions = group_section.get('_versions', [])

for artifact in group_section:
if artifact not in ignore:


Yükleniyor…
İptal
Kaydet