mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 10:46:15 +01:00
- reverted previous fix, was broken
This commit is contained in:
parent
98d7a04b97
commit
88c5710757
@ -87,10 +87,7 @@ class Buildinfo:
|
|||||||
self.debuginfo = 0
|
self.debuginfo = 0
|
||||||
if root.find('debuginfo') != None:
|
if root.find('debuginfo') != None:
|
||||||
try:
|
try:
|
||||||
debug = root.find('debuginfo')
|
self.debuginfo = int(root.find('debuginfo').text)
|
||||||
print >>sys.stderr, "debuginfo = ", debug
|
|
||||||
if debug.find('enable'):
|
|
||||||
self.debuginfo = 1
|
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user