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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user