Python 3: fix re.search() using string pattern on a bytes-like object
re.search(regexp, out) need regexp and out in the same type:string or bytes
currently regexp is string,but out is bytes,which throw TypeError
Fix this issue by transfering out into string forcedly
Signed-off-by: Nchunfuwen <chwen@redhat.com>
Showing
想要评论请 注册 或 登录