summarylogtreecommitdiffstats
path: root/0001-Python-3-portability-fix-for-waf-build.patch
blob: 6a172862dba2debfe7afb501a209a0a65a8496e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From d4483a35cb2f872415fd7c2330827c61483fbfab Mon Sep 17 00:00:00 2001
From: Thomas Nagy <nagy@waf.io>
Date: Tue, 29 Nov 2016 17:25:49 -0500
Subject: [PATCH] Python 3 portability fix for waf build.

---
 docs/wscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/wscript b/docs/wscript
index a036b76..2084ffd 100644
--- a/docs/wscript
+++ b/docs/wscript
@@ -1,7 +1,7 @@
 def build(ctx):
 
 	doc_source = ctx.path.ant_glob("*.txt")
-	doc_source = filter(lambda x: "body" not in str(x), doc_source)
+	doc_source = ctx.path.ant_glob("*.txt", excl='*-body.txt')
 
 	ctx(
 		target	= "doc",
-- 
2.10.2