mirror of
https://abf.rosa.ru/djam/abf-console-client-src.git
synced 2025-02-24 10:22:49 +00:00
No need in removed_sources
This commit is contained in:
parent
6a638cbb00
commit
3ec54d0e67
1 changed files with 0 additions and 3 deletions
|
@ -583,9 +583,6 @@ def upload_files(models, min_size, path=None, remove_files=True, upload_all=Fals
|
||||||
to_remove.append(item)
|
to_remove.append(item)
|
||||||
for item in to_remove:
|
for item in to_remove:
|
||||||
h = yaml_files.pop(item)
|
h = yaml_files.pop(item)
|
||||||
if 'removed_sources' not in yaml_data:
|
|
||||||
yaml_data['removed_sources'] = {}
|
|
||||||
yaml_data['removed_sources'][item] = h
|
|
||||||
log.info(_('Removing %(item)s:%(hash)s from .abf.yml') % {'item': item, 'hash': h })
|
log.info(_('Removing %(item)s:%(hash)s from .abf.yml') % {'item': item, 'hash': h })
|
||||||
yaml_files[src] = sha_hash.encode()
|
yaml_files[src] = sha_hash.encode()
|
||||||
yaml_file_changed = True
|
yaml_file_changed = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue