mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 10:16:14 +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
|
||||
if root.find('debuginfo') != None:
|
||||
try:
|
||||
debug = root.find('debuginfo')
|
||||
print >>sys.stderr, "debuginfo = ", debug
|
||||
if debug.find('enable'):
|
||||
self.debuginfo = 1
|
||||
self.debuginfo = int(root.find('debuginfo').text)
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user