Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
c39888bd
Commit
c39888bd
authored
Jun 07, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
variables.py: remove useless check, improve error message.
parent
3a1984f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
variables.py
hdlmake/manifest_parser/variables.py
+2
-8
No files found.
hdlmake/manifest_parser/variables.py
View file @
c39888bd
...
...
@@ -285,17 +285,11 @@ class ManifestParser(ConfigParser):
if
not
os
.
path
.
isdir
(
filename
):
logging
.
debug
(
"Found manifest for module
%
s:
%
s"
,
path
,
filename
)
path_aux
=
os
.
path
.
join
(
path
,
filename
)
if
not
isinstance
(
path_aux
,
str
):
raise
ValueError
(
"Path must be an instance of str"
)
#if not path_mod.is_abs_path(path_aux):
# raise ValueError(
# "Manifest path must be absolute path")
return
path_aux
return
os
.
path
.
join
(
path
,
filename
)
return
None
manifest
=
_search_for_manifest
(
path
)
if
manifest
is
None
:
raise
Exception
(
"No manifest found in path:
%
s"
,
path
)
raise
Exception
(
"No manifest found in path:
{}"
.
format
(
path
)
)
else
:
logging
.
debug
(
"Parse manifest in:
%
s"
,
manifest
)
return
self
.
add_config_file
(
manifest
)
...
...
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