1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-05 20:58:42 +02:00

applied patch from Michael Marek, fixing all places where error messages were

printed to stdout instead of stderr. [#239404]
This commit is contained in:
Dr. Peter Poeml
2007-04-25 21:10:49 +00:00
parent 280f2c9725
commit 60bc70dc7a
4 changed files with 64 additions and 54 deletions

View File

@@ -47,8 +47,8 @@ class Buildinfo:
try:
tree = ET.parse(filename)
except:
print 'could not parse the buildconfig:'
print open(filename).read()
print >>sys.stderr, 'could not parse the buildconfig:'
print >>sys.stderr, open(filename).read()
sys.exit(1)
root = tree.getroot()