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