Skip to content

Commit

Permalink
Mute pylint false positive
Browse files Browse the repository at this point in the history
The case where process_id and domain_id are not set do result in earlier
return (due to no_exec=True).
  • Loading branch information
marmarek committed May 17, 2024
1 parent 43f49f0 commit 110f840
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qrexec/tools/qrexec_policy_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def get_result(args: Optional[List[str]]) -> Union[str, int]:
"admin.vm.CreateDisposable")
.decode("ascii", "strict"))
utils.qubesd_call(target, "admin.vm.Start")
# pylint: disable=possibly-used-before-assignment
return subprocess.call((
QREXEC_CLIENT,
"-EWkd" if dispvm else "-Ed",
Expand Down

0 comments on commit 110f840

Please sign in to comment.