Skip to content
GitLab
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
6afda593
Commit
6afda593
authored
Oct 03, 2018
by
Vincent Michel
Browse files
Merge branch 'fix_cfg' into 'master'
fix for the get_config_files See merge request
!2
parents
22522cc9
c178c0b5
Pipeline
#5794
passed with stages
in 1 minute and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
handel/interface.py
View file @
6afda593
...
...
@@ -686,7 +686,7 @@ def get_config_files(*path):
path
=
os
.
path
.
join
(
*
path
)
ext
=
b
'.ini'
if
isinstance
(
path
,
bytes
)
else
'.ini'
sep
=
b
'/'
if
isinstance
(
path
,
bytes
)
else
'/'
return
[
os
.
path
.
join
(
dp
,
f
)
.
lstrip
(
path
).
lstrip
(
sep
)
return
[
os
.
path
.
relpath
(
os
.
path
.
join
(
dp
,
f
)
,
path
).
lstrip
(
sep
)
for
dp
,
dn
,
fn
in
os
.
walk
(
path
)
for
f
in
fn
if
f
.
endswith
(
ext
)]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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