More updates
Save data to disk after each update Adjust repo names
This commit is contained in:
parent
7a7f96c0ae
commit
c6a139981e
2 changed files with 4 additions and 3 deletions
|
@ -91,6 +91,7 @@ def update_package(hash_data, package_name, remote_name, obs_repository,
|
|||
logging.debug("Hash doesn't match, updating")
|
||||
run_osc(obs_repository, package_name)
|
||||
hash_data[remote_name] = remote_hash
|
||||
hash_data.save()
|
||||
|
||||
|
||||
def update_packages(cache_file, obs_repository, repo_mapping_file):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue