provision: Put hash_name argument first (minor).

This commit is contained in:
Steve Howell
2020-04-20 12:24:36 +00:00
committed by Tim Abbott
parent ca49f38619
commit e66bd6a7a4
3 changed files with 6 additions and 6 deletions

View File

@@ -379,8 +379,8 @@ def os_families() -> Set[str]:
distro_info = parse_os_release()
return {distro_info["ID"], *distro_info.get("ID_LIKE", "").split()}
def file_or_package_hash_updated(paths: List[str],
hash_name: str,
def file_or_package_hash_updated(hash_name: str,
paths: List[str],
package_versions: List[str]=[]) -> bool:
# Check whether the files or package_versions passed as arguments
# changed compared to the last execution.