[all] small fixed picked up by pytest
- unicode stuff - make all regexps regex strings
This commit is contained in:
parent
9cadcee844
commit
5e40dfb28a
9 changed files with 12 additions and 10 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue