Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
python-handel
Commits
41fa3427
Commit
41fa3427
authored
Aug 30, 2017
by
Vincent Michel
Browse files
Work around ConfigParser.read bug
parent
b3d5fe0d
Pipeline
#896
passed with stages
in 1 minute and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
handel/interface.py
View file @
41fa3427
...
...
@@ -385,5 +385,5 @@ def get_config(filename):
config
=
configparser
.
ConfigParser
(
comment_prefixes
=
[
'START'
,
'END'
,
'#'
,
'*****'
])
# Read and parse
config
.
read
(
filename
)
config
.
read
(
[
filename
]
)
return
{
section
:
dict
(
config
[
section
])
for
section
in
config
.
sections
()}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment