Skip to content

Commit fb274ba

Browse files
committed
noqa: StopIteration.value is correct
1 parent 840d004 commit fb274ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libioc/Jail.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1743,7 +1743,7 @@ def _exec_host_command(
17431743
)
17441744
except StopIteration as return_statement:
17451745
output: libioc.helpers.CommandOutput
1746-
output = return_statement.value
1746+
output = return_statement.value # noqa: T484
17471747
return output
17481748
except (KeyboardInterrupt, SystemExit):
17491749
raise libioc.errors.JailExecutionAborted(

0 commit comments

Comments
 (0)