summaryrefslogtreecommitdiff
path: root/SCons/Tool/DCommon.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2023-05-03 18:29:26 -0700
committerGitHub <noreply@github.com>2023-05-03 18:29:26 -0700
commit239f437b463dc948690473830f1816e9a67b72c2 (patch)
tree203b499babac9dbed56afbd1e1eea548ac1b9932 /SCons/Tool/DCommon.py
parent6ce33bdadec1cf558a6d0df27a6a083516d6cf23 (diff)
parent5717e06c245d99923f5c4a6e786a564799871c49 (diff)
downloadscons-git-239f437b463dc948690473830f1816e9a67b72c2.tar.gz
Merge branch 'master' into maint/validateOptions
Diffstat (limited to 'SCons/Tool/DCommon.py')
-rw-r--r--SCons/Tool/DCommon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Tool/DCommon.py b/SCons/Tool/DCommon.py
index 128e56165..a4f976d42 100644
--- a/SCons/Tool/DCommon.py
+++ b/SCons/Tool/DCommon.py
@@ -32,7 +32,7 @@ Coded by Russel Winder (russel@winder.org.uk)
import os.path
-def isD(env, source):
+def isD(env, source) -> int:
if not source:
return 0
for s in source:
@@ -43,7 +43,7 @@ def isD(env, source):
return 0
-def addDPATHToEnv(env, executable):
+def addDPATHToEnv(env, executable) -> None:
dPath = env.WhereIs(executable)
if dPath:
phobosDir = dPath[:dPath.rindex(executable)] + '/../src/phobos'