scripts.avocado: Simplify error streams detection
Avoid unnecessary complexity of quering for enabled logs and only support
os.environ to show the full traceback.
Additionally avoid problems with redirected sys.stderr by writing
directly to fd 2, which is STDERR.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录