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
a2956203
Commit
a2956203
authored
Jun 13, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish the program if not all of the modules are fetched
parent
0dcb9508
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
core.py
hdlmake/action/core.py
+4
-5
No files found.
hdlmake/action/core.py
View file @
a2956203
...
...
@@ -47,7 +47,7 @@ class ActionCore(Action):
self
.
svn_backend
=
Svn
()
self
.
local_backend
=
Local
()
def
_
report_fetch_status
(
self
):
def
_
check_all_fetched
(
self
):
"""Check if every module in the pool is fetched"""
if
not
len
([
m
for
m
in
self
if
not
m
.
isfetched
])
==
0
:
...
...
@@ -55,12 +55,11 @@ class ActionCore(Action):
"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
])
)
"
\n
"
.
join
([
str
(
m
)
for
m
in
self
if
not
m
.
isfetched
]))
quit
()
def
makefile
(
self
):
"""Write the Makefile for the current design"""
self
.
_
report_fetch_status
()
self
.
_
check_all_fetched
()
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