From 5a9de36e9e062cb263f7c8a47e91eb825372b802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= Date: Thu, 18 Feb 2010 18:49:22 +0100 Subject: [PATCH] Fix the test for icecream. 'num' is type and evaluation failed. --- osc/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/build.py b/osc/build.py index 953e6dbd..e26321a8 100644 --- a/osc/build.py +++ b/osc/build.py @@ -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++')