diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-08 11:12:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-08 11:12:53 +0100 |
commit | 7b26b3b67f7a8bc072e1f8deaccec8e678811d02 (patch) | |
tree | 391fd74e059dc49ee793347d938f3f364d06719f /editor | |
parent | 30620434e1c4c99718cebefabec673c84e16689c (diff) | |
parent | 487afde3bb86c69d60e6c8f946866b4401c6dab1 (diff) |
Merge pull request #12731 from mhilbrunner/issue-12584
Ignore files not ending with '.xml' when building doc header
Diffstat (limited to 'editor')
-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 |