From 274981f77d648ceb87f84cdeaec33a58dfd37385 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Mar 2020 08:34:37 +0100 Subject: Improve Python 3 compatibility --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index bd7c54d..1f5bbea 100644 --- a/wscript +++ b/wscript @@ -135,7 +135,7 @@ def check_options(ctx, host): ctx.env.CXX = '%s-g++' % (host) ctx.env.AR = '%s-ar' % (host) ctx.env.PYTHON = 'python' - elif host is not 'native': + elif host != 'native': ctx.fatal('unknown host: %s' % (host)); # -- cgit v1.2.3