1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 18:06:13 +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:
num = config['icecream']
if num > 0:
if int(num) > 0:
buildargs.append('--icecream %s' % num)
xp.append('icecream')
xp.append('gcc-c++')