1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 10:16:14 +01:00

Fix the test for icecream. 'num' is type <str> and evaluation failed.

This commit is contained in:
Jan-Simon Möller 2010-02-18 18:49:22 +01:00
parent 2b4570ba81
commit 5a9de36e9e

View File

@ -343,7 +343,7 @@ def main(opts, argv):
else: else:
num = config['icecream'] num = config['icecream']
if num > 0: if int(num) > 0:
buildargs.append('--icecream %s' % num) buildargs.append('--icecream %s' % num)
xp.append('icecream') xp.append('icecream')
xp.append('gcc-c++') xp.append('gcc-c++')