[Git][NTPsec/ntpsec][master] Python 3 portability fix for waf build.

Eric S. Raymond gitlab at mg.gitlab.com
Tue Nov 29 22:26:31 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
d6a11d30 by Thomas Nagy at 2016-11-29T17:25:49-05:00
Python 3 portability fix for waf build.

- - - - -


1 changed file:

- docs/wscript


Changes:

=====================================
docs/wscript
=====================================
--- 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",



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/d6a11d30ee432120ec399b5b265170f14a78e335
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161129/b1fda4b1/attachment.html>


More information about the vc mailing list