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
7dcb132c
Commit
7dcb132c
authored
Jun 09, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't crash, but emit a warning when all the modules are not fetched
parent
e30acf3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
core.py
hdlmake/action/core.py
+3
-4
No files found.
hdlmake/action/core.py
View file @
7dcb132c
...
...
@@ -46,21 +46,20 @@ class ActionCore(Action):
self
.
svn_backend
=
Svn
()
self
.
local_backend
=
Local
()
def
_
check_all_fetched_or_quit
(
self
):
def
_
report_fetch_status
(
self
):
"""Check if every module in the pool is fetched"""
if
not
len
([
m
for
m
in
self
if
not
m
.
isfetched
])
==
0
:
logging
.
error
(
"Fetching
must
be done before continuing.
\n
"
"Fetching
should
be done before continuing.
\n
"
"The following modules remains unfetched:
\n
"
"
%
s"
,
"
\n
"
.
join
([
str
(
m
)
for
m
in
self
if
not
m
.
isfetched
])
)
quit
()
def
makefile
(
self
):
"""Write the Makefile for the current design"""
self
.
_
check_all_fetched_or_quit
()
self
.
_
report_fetch_status
()
self
.
build_file_set
()
self
.
solve_file_set
()
combined_fileset
=
self
.
parseable_fileset
...
...
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