From 208ab8af281e4e256cf0897536d3eba1dcd0ff39 Mon Sep 17 00:00:00 2001 From: Erik Kooistra <kooistra@astron.nl> Date: Wed, 4 May 2016 11:34:07 +0000 Subject: [PATCH] Corrected default inclusion of next new section. --- tools/oneclick/base/common_dict_file.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/oneclick/base/common_dict_file.py b/tools/oneclick/base/common_dict_file.py index 5b7cabbc13..7a62d47546 100644 --- a/tools/oneclick/base/common_dict_file.py +++ b/tools/oneclick/base/common_dict_file.py @@ -182,6 +182,7 @@ class CommonDictFile: if section_begin>=0 and section_end>section_begin: section_header = line[section_begin+1:section_end].strip() # new section header section_headers.append(section_header) + include_section = True # default include this new section if self.fileSections!=None: if section_header not in self.fileSections: include_section = False # skip this section -- GitLab