"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ospd/config.py" between
ospd-2.0.0.tar.gz and ospd-2.0.1.tar.gz

About: OSPd is a base class for scanner wrappers which share the same communication protocol: OSP (OpenVAS Scanner Protocol).

config.py  (ospd-2.0.0):config.py  (ospd-2.0.1)
skipping to change at line 44 skipping to change at line 44
path = filepath.expanduser() path = filepath.expanduser()
config = configparser.ConfigParser(default_section=def_section) config = configparser.ConfigParser(default_section=def_section)
with path.open() as f: with path.open() as f:
config.read_file(f) config.read_file(f)
self._defaults.update(config.defaults()) self._defaults.update(config.defaults())
for key, value in config.items(def_section): for key, value in config.items(def_section):
self._config.setdefault(def_section, dict())[key] = value self._config.setdefault(def_section, dict())[key] = value
def defaults(self): def defaults(self):
return self._defaults return self._defaults
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)