From 523b8103777d6144833f2171e1455ff90683073f Mon Sep 17 00:00:00 2001 From: anders_k Date: Wed, 12 Aug 2020 23:27:03 +0000 Subject: [PATCH] Another Python fix git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7215 212acab6-be3b-0410-9dea-997c60f758d6 --- SCons/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCons/utils.py b/SCons/utils.py index 92d50ceb..7a1dcb37 100644 --- a/SCons/utils.py +++ b/SCons/utils.py @@ -262,7 +262,7 @@ def SetPETimestamp(filepath, timestamp): return def MakeReproducibleAction(target, source, env): - if env.get('SOURCE_DATE_EPOCH','') is not '': + if env.get('SOURCE_DATE_EPOCH','') != '': SetPETimestamp(target[0].path, env['SOURCE_DATE_EPOCH']) def SilentActionEcho(target, source, env):