Another Python fix

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7215 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2020-08-12 23:27:03 +00:00
parent bf887b2ef2
commit 523b810377

View file

@ -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):