summaryrefslogtreecommitdiffstats
path: root/src/script/scons.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/scons.py')
-rw-r--r--src/script/scons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/scons.py b/src/script/scons.py
index 1a67e51..b8dc2ff 100644
--- a/src/script/scons.py
+++ b/src/script/scons.py
@@ -68,7 +68,7 @@ class BuildTask(SCons.Taskmaster.Task):
class CleanTask(SCons.Taskmaster.Task):
"""An SCons clean task."""
def execute(self):
- if hasattr(self.target, "builder"):
+ if self.target.builder:
os.unlink(self.target.path)
print "Removed " + self.target.path