1
0
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:
Olaf Kirch 2009-03-12 16:35:40 +00:00
parent 98d7a04b97
commit 88c5710757

View File

@ -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