mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
maintainers/scripts/update: Fix update_info type
This was revealed when we added return type to `check_subprocess_output`.
This commit is contained in:
parent
76f44542a8
commit
fdea10b433
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ async def commit_changes(
|
||||||
async def check_changes(
|
async def check_changes(
|
||||||
package: dict,
|
package: dict,
|
||||||
worktree: str,
|
worktree: str,
|
||||||
update_info: str,
|
update_info: bytes,
|
||||||
) -> list[dict]:
|
) -> list[dict]:
|
||||||
if "commit" in package["supportedFeatures"]:
|
if "commit" in package["supportedFeatures"]:
|
||||||
changes = json.loads(update_info)
|
changes = json.loads(update_info)
|
||||||
|
@ -208,7 +208,7 @@ async def check_changes(
|
||||||
async def merge_changes(
|
async def merge_changes(
|
||||||
merge_lock: asyncio.Lock,
|
merge_lock: asyncio.Lock,
|
||||||
package: dict,
|
package: dict,
|
||||||
update_info: str,
|
update_info: bytes,
|
||||||
temp_dir: tuple[str, str] | None,
|
temp_dir: tuple[str, str] | None,
|
||||||
) -> None:
|
) -> None:
|
||||||
if temp_dir is not None:
|
if temp_dir is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue