Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biseau
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
BOURNEUF Lucas
biseau
Commits
d5178470
Commit
d5178470
authored
Oct 31, 2018
by
Lucas Bourneuf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve error message
parent
9e509b77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
biseau/core.py
biseau/core.py
+1
-1
No files found.
biseau/core.py
View file @
d5178470
...
@@ -40,7 +40,7 @@ def build_pipeline(fnames:[str], verbosity:int=0) -> [Script]:
...
@@ -40,7 +40,7 @@ def build_pipeline(fnames:[str], verbosity:int=0) -> [Script]:
ext
=
os
.
path
.
splitext
(
fname
)[
1
]
ext
=
os
.
path
.
splitext
(
fname
)[
1
]
ftype
=
EXT_TO_TYPE
.
get
(
ext
,
'unknow type'
)
ftype
=
EXT_TO_TYPE
.
get
(
ext
,
'unknow type'
)
if
ftype
not
in
LOADABLE
:
if
ftype
not
in
LOADABLE
:
raise
ValueError
(
f
"The type '{ftype}' can't be loaded"
)
raise
ValueError
(
f
"The type '{ftype}'
(extension {ext})
can't be loaded"
)
yield
from
module_loader
.
build_scripts_from_file
(
fname
)
yield
from
module_loader
.
build_scripts_from_file
(
fname
)
def
build_pipeline_from_configfile
(
config
:
str
,
verbosity
:
int
=
0
)
->
[
Script
]:
def
build_pipeline_from_configfile
(
config
:
str
,
verbosity
:
int
=
0
)
->
[
Script
]:
...
...
Write
Preview
Markdown
is supported
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