[all] small fixed picked up by pytest

- unicode stuff
- make all regexps regex strings
This commit is contained in:
tobi-wan-kenobi 2020-06-02 20:13:39 +02:00
parent 9cadcee844
commit 5e40dfb28a
9 changed files with 12 additions and 10 deletions

View file

@ -220,7 +220,7 @@ class Config(util.store.Store):
if os.path.exists(filename):
log.info("loading {}".format(filename))
tmp = RawConfigParser()
tmp.read(filename)
tmp.read(u"{}".format(filename))
if tmp.has_section("module-parameters"):
for key, value in tmp.items("module-parameters"):