build: minor fix for python3 compatibility.
refs #1302 note #12
Change-Id: I31563a9b3e293784329538bcbe41190d0b63ac29
diff --git a/.waf-tools/pch.py b/.waf-tools/pch.py
index 1b963ae..08cc5de 100644
--- a/.waf-tools/pch.py
+++ b/.waf-tools/pch.py
@@ -83,7 +83,7 @@
if getattr(self.bld, 'pch_tasks', None) is None:
self.bld.pch_tasks = {}
- if getattr(self, 'headers', None) is None:
+ if getattr(self, 'headers', None) is None:
return
self.headers = self.to_nodes(self.headers)
@@ -102,7 +102,7 @@
# target should be an absolute path of `out`, but without precompiled header extension
task.target = out.abspath()[:-len(out.suffix())]
- self.pch_task = task
+ self.pch_task = task
if getattr(self, 'name', None):
self.bld.pch_tasks[self.name] = task