Skip to content

Commit

Permalink
remove dump inactivate sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoveran committed Sep 8, 2023
1 parent 84f9c63 commit bde495b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fastargs/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def get_section(self, section):
def get_all_config(self, dump_path=None, ignore = []):
config_dict = rec_dd()
for path in self.entries.keys():
if '.'.join(path) not in ignore:
if '.'.join(path) not in ignore and self.entries[path].section.is_enabled(self):
recursive_set(config_dict, path, self[path])
config_dict = fix_dict(config_dict)
if dump_path is not None:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
packages=find_packages('.'),
# Start with a small number and increase it with
# every change you make https://semver.org
version='0.1.4',
version='0.1.5',
# Chose a license from here: https: //
# help.github.com / articles / licensing - a -
# repository. For example: MIT
Expand Down

0 comments on commit bde495b

Please sign in to comment.