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:
parent
2b4570ba81
commit
5a9de36e9e
@ -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++')
|
||||||
|
Loading…
Reference in New Issue
Block a user