mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
fix formatting issues
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
fa74a26042
commit
eb83e00011
134 files changed
+598
-720
No files matched your search
+6
-4
@@ -349,8 +349,9 @@ def _download_packages(packages):
|
||||
return downloaded_files
|
||||
|
||||
|
||||
def _get_conffile_hashes_from_downloaded_files(
|
||||
packages, downloaded_files, status_hashes, mismatched_hashes):
|
||||
def _get_conffile_hashes_from_downloaded_files(packages, downloaded_files,
|
||||
status_hashes,
|
||||
mismatched_hashes):
|
||||
"""Retrieve the conffile hashes from downloaded .deb files."""
|
||||
new_hashes = defaultdict(dict)
|
||||
new_versions = defaultdict(lambda: None)
|
||||
@@ -369,8 +370,9 @@ def _get_conffile_hashes_from_downloaded_files(
|
||||
return new_hashes, new_versions
|
||||
|
||||
|
||||
def _get_conffile_hashes_from_downloaded_file(
|
||||
packages, downloaded_file, status_hashes, mismatched_hashes):
|
||||
def _get_conffile_hashes_from_downloaded_file(packages, downloaded_file,
|
||||
status_hashes,
|
||||
mismatched_hashes):
|
||||
"""Retrieve the conffile hashes from a single downloaded .deb file."""
|
||||
deb_file = apt_inst.DebFile(downloaded_file)
|
||||
|
||||
|
||||
Reference in new issue
Block a user