summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-05-10 15:20:50 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-05-10 15:20:50 -0500
commit5465d557cf9486cbe1a265419dadda4922b90351 (patch)
treeca0ed405141d4f4bc56159d76ee3683e76f8aa58 /tools
parent9de49d4d2e5951cec5ca89300d8788b4a08275bd (diff)
downloadbcfg2-5465d557cf9486cbe1a265419dadda4922b90351.tar.gz
bcfg2-5465d557cf9486cbe1a265419dadda4922b90351.tar.bz2
bcfg2-5465d557cf9486cbe1a265419dadda4922b90351.zip
tools: Fix python2 syntax error
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/yum-listpkgs-xml.py2
1 files changed, 1 insertions, 1 deletions
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)