utils.script: Add support for "open_mode" to support binary
Currently the "Script" only uses text mode to open files, let's allow to
set any mode by using "open_mode" to allow passing binary data, when
needed.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录