diff options
author | mhilbrunner <m.hilbrunner@gmail.com> | 2017-11-07 22:28:07 +0100 |
---|---|---|
committer | mhilbrunner <m.hilbrunner@gmail.com> | 2017-11-07 22:57:17 +0100 |
commit | 487afde3bb86c69d60e6c8f946866b4401c6dab1 (patch) | |
tree | 22b65245717a8bf8b558b415f30ac354cc9fe75f /editor/SCsub | |
parent | b279f641c0b9e7af711d857917353905b48c6913 (diff) |
Ignore files not ending with '.xml' when building doc header
Diffstat (limited to 'editor/SCsub')
-rw-r--r-- | editor/SCsub | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/SCsub b/editor/SCsub index 2b6494608b..c531d2c7a6 100644 --- a/editor/SCsub +++ b/editor/SCsub @@ -39,6 +39,8 @@ def make_doc_header(target, source, env): docend = "" for s in source: src = s.srcnode().abspath + if not src.endswith(".xml"): + continue f = open_utf8(src, "r") content = f.read() buf+=content |