From 5465d557cf9486cbe1a265419dadda4922b90351 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Fri, 10 May 2013 15:20:50 -0500 Subject: tools: Fix python2 syntax error Signed-off-by: Sol Jerome --- tools/yum-listpkgs-xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/yum-listpkgs-xml.py b/tools/yum-listpkgs-xml.py index a052e75af..b4c5f6589 100755 --- a/tools/yum-listpkgs-xml.py +++ b/tools/yum-listpkgs-xml.py @@ -39,5 +39,5 @@ try: sys.argv = [sys.argv[0], '-d', '0', 'list'] yummain.main(sys.argv[1:]) except KeyboardInterrupt: - print("\n\nExiting on user cancel.", file=sys.stderr) + sys.stderr.write("\n\nExiting on user cancel.") sys.exit(1) -- cgit v1.2.3-1-g7c22