From: wang biao Date: Wed, 17 May 2023 11:39:09 +0000 (+0800) Subject: fix yum run error again X-Git-Tag: accepted/tools/devbase/tools/20250527.103838~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=816dceebfc6278cf95b1b178422cc1dc5016494b;p=tools%2Fyum.git fix yum run error again Change-Id: I8b5c315fdfa53bf54fc717552fac1d7f9151cd11 Signed-off-by: wang biao --- diff --git a/cli.py b/cli.py index 5a7903d..a83403a 100644 --- a/cli.py +++ b/cli.py @@ -194,7 +194,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput): # Just print out the version if that's what the user wanted if opts.version: - print(yum.__version__) + print(yum.__version__, file=sys.stderr) opts.quiet = True opts.verbose = False