Skip to content
Snippets Groups Projects
Commit 208ab8af authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Corrected default inclusion of next new section.

parent 1a725931
No related branches found
No related tags found
No related merge requests found
...@@ -182,6 +182,7 @@ class CommonDictFile: ...@@ -182,6 +182,7 @@ class CommonDictFile:
if section_begin>=0 and section_end>section_begin: if section_begin>=0 and section_end>section_begin:
section_header = line[section_begin+1:section_end].strip() # new section header section_header = line[section_begin+1:section_end].strip() # new section header
section_headers.append(section_header) section_headers.append(section_header)
include_section = True # default include this new section
if self.fileSections!=None: if self.fileSections!=None:
if section_header not in self.fileSections: if section_header not in self.fileSections:
include_section = False # skip this section include_section = False # skip this section
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment