mirror of
https://abf.rosa.ru/djam/abf-console-client-src.git
synced 2025-02-23 18:02:50 +00:00
Do not fail on empty sources section in .abf.yml
This commit is contained in:
parent
9b02010a8e
commit
d3744255dc
1 changed files with 2 additions and 0 deletions
|
@ -565,6 +565,8 @@ def upload_files(models, min_size, path=None, remove_files=True, upload_all=Fals
|
|||
yaml_file_changed = True
|
||||
continue
|
||||
sha_hash = models.jsn.upload_file(source)
|
||||
if not yaml_files:
|
||||
yaml_files = {}
|
||||
|
||||
if src not in yaml_files or sha_hash != yaml_files[src]:
|
||||
log.debug(_('Hash for file %s has been updated') % src)
|
||||
|
|
Loading…
Add table
Reference in a new issue