Skip to content
Snippets Groups Projects

:hammer: rewrote expanding to allow blacklisting

Merged Vincent Hatakeyama requested to merge topic/default/blacklisting into branch/default
+ 2
1
"""Functions to read configuration.
"""
from collections import defaultdict
import configparser
import logging
import os
import sys
@@ -4,7 +3,8 @@
import configparser
import logging
import os
import sys
from collections import defaultdict
from glob import glob
from typing import List, Optional
@@ -95,6 +95,7 @@
set_values.update(getattr(config, key))
# get the values from this configuration
values = section.get(key, "").split()
# XXX eventually add option to not include path
set_values.update(set_from_glob_values(path, values))
setattr(self, key, list(set_values))
Loading